top | item 46943306

(no title)

_0ffh | 21 days ago

As someone who has always despised the usage of "foo == true" and "foo == false" in predicates instead of just "foo" or "not foo" (or "!foo"), this pleases me.

That practice misses the point of what it means for a value to be a boolean. (Even in C, if it's actually an int.)

discuss

order

No comments yet.