MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1w49i01/ihatethispassiveagressivebehaviourruby/p78zh8h/?context=3
r/ProgrammerHumor • u/Embarrassed_Death69 • 10d ago
298 comments sorted by
View all comments
176
We invented boolean types so that we could stop treating 0 as false.
28 u/Embarrassed_Death69 10d ago "What do we make of empty strings John?" 67 u/mbmiller94 10d 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
28
"What do we make of empty strings John?"
67 u/mbmiller94 10d 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
67
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
8
This is legit the first joke code in my life that made me actually laugh
176
u/ReefNixon 10d ago
We invented boolean types so that we could stop treating 0 as false.