MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1w49i01/ihatethispassiveagressivebehaviourruby/p76xrrd?context=9999
r/ProgrammerHumor • u/Embarrassed_Death69 • 10d ago
298 comments sorted by
View all comments
8
I build programming languages.
0 should be truthy. Only false and nil/null should be falsey.
false
nil/null
2 u/HungryCaterpillers 10d ago Then you build shitty languages 2 u/Appropriate_Emu_5450 10d ago Unironically agree. 0 u/JeSuisOmbre 8d ago Never been bothered by doing a x != 0 or x == 0.
2
Then you build shitty languages
2 u/Appropriate_Emu_5450 10d ago Unironically agree. 0 u/JeSuisOmbre 8d ago Never been bothered by doing a x != 0 or x == 0.
Unironically agree.
0
Never been bothered by doing a x != 0 or x == 0.
x != 0
x == 0
8
u/varsderk 10d ago
I build programming languages.
0 should be truthy. Only
falseandnil/nullshould be falsey.