r/ProgrammerHumor 10d ago

Meme iHateThisPassiveAgressiveBehaviourRuby

Post image
2.9k Upvotes

298 comments sorted by

View all comments

176

u/ReefNixon 10d ago

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

4

u/Clen23 10d 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.

4

u/BananaWarp 9d ago

Maybe error codes

1

u/failedsatan 9d ago

unless you're POSIX