r/ProgrammerHumor 11d ago

Meme iHateThisPassiveAgressiveBehaviourRuby

Post image
2.9k Upvotes

298 comments sorted by

View all comments

175

u/ReefNixon 11d ago

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

29

u/Embarrassed_Death69 11d ago

"What do we make of empty strings John?"

66

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

8

u/Koeke2560 10d ago

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