Re:If-then-else had to be invented
by tempodox on Sunday December 13, 2020 @04:54PM
(#25410724)
I see. I interpreted `^` as XOR. The implication (`-->`) was clear enough to not be misunderstood.
[ Parent
| on HN ]
Re:If-then-else had to be invented
by chriskanan on Monday December 14, 2020 @03:51PM
(#25423103)
The "ʌ" symbol (^ due to laziness) is commonly used to mean AND in propositional/formal logic in mathematics:
I know, but due to the use of “¬” for the negation I would have expected “∧” (‘LOGICAL AND’, U+2227), or at least something less ambiguous, like “&”. C conditioned me into thinking of ASCII caret as XOR.