News for hackers. Stuff that matters.
Re:Algebraic Data Types for C99 by samatman on Thursday May 09, 2024 @08:03PM (#40314200)
> Logic doesn't really have a direction, it works backwards or forwards.

Implication is one of the primitives in logic, and gives us several of the classic logical fallacies: affirming the consequent, denying the antecedent, fallacy of the converse, and fallacy of the inverse.

All of which are examples of trying to work logic as though it doesn't have a direction.

Re:Algebraic Data Types for C99 by naasking on Friday May 10, 2024 @12:17AM (#40315473)
Implication is not primitive, "x->y" is reducible to "not(x) or y". None of those fallacies derive from a lack of direction, but from not being invalid logical deductions.