r/ProgrammerHumor 12h ago

Meme iHateThisPassiveAgressiveBehaviourRuby

Post image
2.1k Upvotes

252 comments sorted by

View all comments

7

u/varsderk 10h ago

I build programming languages.

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

0

u/HungryCaterpillers 9h ago

Then you build shitty languages

2

u/Appropriate_Emu_5450 7h ago

Unironically agree.

1

u/airodonack 8h 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.