Re:Why 1 && 2 == 2
by eridius on Friday July 19, 2013 @01:04AM
(#6068426)
You wrote at the end that you weren't sure why literal values were returned instead of TRUE and FALSE. The practical answer is that literal values are far more useful. The simple answer is that, since the literal value already represents TRUE (or FALSE), returning it makes just as much sense as returning a literal TRUE/FALSE, and is simpler to do.
[ Parent
| on HN ]
There are no comments on this comment yet.