Catholic particular judgement in programming (for fun only)


int particularJudgement(State* state) {
    if(state->grace > state->sin) {
        if(state->punishment) {
            return PURGATORY;
        }
        else {
            return HEAVEN;
        }
    }
    return HELL;
}
Advertisements