r/ProgrammerHumor 19h ago

Meme iHateThisPassiveAgressiveBehaviourRuby

Post image
2.4k Upvotes

265 comments sorted by

View all comments

148

u/ReefNixon 18h ago

We invented boolean types so that we could stop treating 0 as false.

3

u/Clen23 13h ago

My take exactly, the only situation where you'd want to use 0 to mean "false" is if you're using lower-level logic.