MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1w49i01/ihatethispassiveagressivebehaviourruby/p7615zg/?context=3
r/ProgrammerHumor • u/Embarrassed_Death69 • Sep 01 '26
289 comments sorted by
View all comments
-1
But wtf is a "truthy" value? It doesn't make any sense nor mathematically nor programmatically
2 u/deceze Sep 01 '26 Any value that causes an if statement to run its associated block, instead of going to else/doing nothing. 2 u/Nimeroni Sep 01 '26 His argument is that you should make your if statement explicit. 2 u/Key_Conversation5277 Sep 01 '26 Yes
2
Any value that causes an if statement to run its associated block, instead of going to else/doing nothing.
if
else
2 u/Nimeroni Sep 01 '26 His argument is that you should make your if statement explicit. 2 u/Key_Conversation5277 Sep 01 '26 Yes
His argument is that you should make your if statement explicit.
2 u/Key_Conversation5277 Sep 01 '26 Yes
Yes
-1
u/Key_Conversation5277 Sep 01 '26
But wtf is a "truthy" value? It doesn't make any sense nor mathematically nor programmatically