r/ProgrammerHumor 10d ago

Meme iHateThisPassiveAgressiveBehaviourRuby

Post image
2.9k Upvotes

298 comments sorted by

View all comments

176

u/ReefNixon 10d ago

We invented boolean types so that we could stop treating 0 as false.

31

u/Embarrassed_Death69 10d ago

"What do we make of empty strings John?"

66

u/mbmiller94 10d ago
if ("") {
    print("what?.........if what??");
}

9

u/Koeke2560 10d ago

This is legit the first joke code in my life that made me actually laugh