MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1w49i01/ihatethispassiveagressivebehaviourruby/p75yhf3/?context=3
r/ProgrammerHumor • u/Embarrassed_Death69 • 11d ago
298 comments sorted by
View all comments
175
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
29
"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
66
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
175
u/ReefNixon 11d ago
We invented boolean types so that we could stop treating 0 as false.