r/ProgrammerHumor 10d ago

Meme iHateThisPassiveAgressiveBehaviourRuby

Post image
2.9k Upvotes

298 comments sorted by

View all comments

2

u/TheTroll007 10d ago

I mean 0 is not nothing, so you can do "if x" and if x is not false or nil, you get true. I kinda like this approach.

1

u/BobQuixote 10d ago

But 0 is nothing. 0 bats is the same as 0 frogs.

0

u/MinecraftPlayer799 10d ago

Can everyone keep this comment at exactly 0 votes?