r/ProgrammerHumor 17h ago

Meme iHateThisPassiveAgressiveBehaviourRuby

Post image
2.4k Upvotes

264 comments sorted by

View all comments

144

u/ReefNixon 17h ago

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

30

u/Embarrassed_Death69 17h ago

"What do we make of empty strings John?"

51

u/mbmiller94 16h ago
if ("") {
    print("what?.........if what??");
}

7

u/Koeke2560 8h ago

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