r/ProgrammerHumor 17h ago

Meme iHateThisPassiveAgressiveBehaviourRuby

Post image
2.3k Upvotes

262 comments sorted by

View all comments

8

u/varsderk 14h ago

I build programming languages.

0 should be truthy. Only false and nil/null should be falsey.

2

u/airodonack 13h ago

Agreed. This is the mathematical perspective versus the physical one about that’s bits.

Also it makes “if number” make more sense. If you want the other one, well that’s why God invented “if number == 0” which is much clearer.

0

u/HungryCaterpillers 13h ago

Then you build shitty languages

2

u/Appropriate_Emu_5450 11h ago

Unironically agree.