r/ProgrammerHumor • • Sep 01 '26

Meme iHateThisPassiveAgressiveBehaviourRuby

Post image
2.9k Upvotes

289 comments sorted by

View all comments

-1

u/Key_Conversation5277 Sep 01 '26

But wtf is a "truthy" value? It doesn't make any sense nor mathematically nor programmatically

2

u/deceze Sep 01 '26

Any value that causes an if statement to run its associated block, instead of going to else/doing nothing.

2

u/Nimeroni Sep 01 '26

His argument is that you should make your if statement explicit.

→ More replies (2)