Re:Evil Coding Incantations
by krapp on Monday December 25, 2017 @01:07PM
(#16005066)
I don't really like 0 being truthy or falsy. For 'true' or 'false' flags you could just have a bitset, and everything else can have specific tests for type or value. I actually kind of half suspect that you don't need booleans or 'truthy' things at all. Or null.
I'm probably wrong though.