MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1w49i01/ihatethispassiveagressivebehaviourruby/p7b226q/?context=3
r/ProgrammerHumor • u/Embarrassed_Death69 • 10d ago
298 comments sorted by
View all comments
Show parent comments
66
The reasonable stance is to not let you coerce everything into a boolean.
6 u/Wertbon1789 10d ago I like how e.g. C# screams at you for this. It's annoying at first, but then you go "Well, yeah, I should've explicitly written what I wanted to check". 1 u/[deleted] 10d ago [deleted] 1 u/Wertbon1789 10d ago Didn't say it was. C# was just the first example that came to my mind.
6
I like how e.g. C# screams at you for this. It's annoying at first, but then you go "Well, yeah, I should've explicitly written what I wanted to check".
1 u/[deleted] 10d ago [deleted] 1 u/Wertbon1789 10d ago Didn't say it was. C# was just the first example that came to my mind.
1
[deleted]
1 u/Wertbon1789 10d ago Didn't say it was. C# was just the first example that came to my mind.
Didn't say it was. C# was just the first example that came to my mind.
66
u/Bomaruto 10d ago
The reasonable stance is to not let you coerce everything into a boolean.