Re:Literals in Programming Languages
by jonsen on Thursday February 28, 2013 @03:27AM
(#5297710)
So in fact you believed it was false before true then ;-)
[ Parent
| on HN ]
well i believed that they are not ordered. (which they are not in some languages)
That's what I thought, but it appears truth values are typically defined with a partial ordering a <= b iff a && b == a, which gives false <= false < true <= true.
You could choose to ignore that partial ordering at your own peril.