MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1w49i01/ihatethispassiveagressivebehaviourruby/p78zh8h/?context=3
r/ProgrammerHumor • u/Embarrassed_Death69 • 17h ago
264 comments sorted by
View all comments
144
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
30
"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
51
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
7
This is legit the first joke code in my life that made me actually laugh
144
u/ReefNixon 17h ago
We invented boolean types so that we could stop treating 0 as false.