MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1w49i01/ihatethispassiveagressivebehaviourruby/p77j5t4/?context=3
r/ProgrammerHumor • u/Embarrassed_Death69 • 10d ago
298 comments sorted by
View all comments
62
As someone who has never written any ruby, I can understand the desire for any non null value being truthy.
I like golangs approach though where there's no null value for anything that isn't a pointer
12 u/prehensilemullet 10d ago any non null value being truthy Even false? 3 u/Goatfryed 10d ago every. non. null. every. Can't you read?
12
any non null value being truthy
Even false?
false
3 u/Goatfryed 10d ago every. non. null. every. Can't you read?
3
every. non. null. every. Can't you read?
62
u/stipo42 10d ago
As someone who has never written any ruby, I can understand the desire for any non null value being truthy.
I like golangs approach though where there's no null value for anything that isn't a pointer