MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1w49i01/ihatethispassiveagressivebehaviourruby/p77pki3/?context=3
r/ProgrammerHumor • u/Embarrassed_Death69 • 19h ago
265 comments sorted by
View all comments
148
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.
3
My take exactly, the only situation where you'd want to use 0 to mean "false" is if you're using lower-level logic.
148
u/ReefNixon 18h ago
We invented boolean types so that we could stop treating 0 as false.