MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1w49i01/ihatethispassiveagressivebehaviourruby/p762tro/?context=3
r/ProgrammerHumor • u/Embarrassed_Death69 • 17h ago
262 comments sorted by
View all comments
13
Bash is the same way but it makes sense considering 0 represents the single route of success, while other numbers can mean different error codes.
I have no idea why ruby does it, but in bash at least there is a solid reason for it.
13 u/Zealousideal_Low1287 16h ago It’s basically because of this lineage. Perl inherited it from other shell languages, and Ruby is essentially a direct decedent of Perl. 10 u/budgiebirdman 15h ago This is the thread of truth I came looking for. All other answers are just discussions on whose farts smell the sweetest.
It’s basically because of this lineage. Perl inherited it from other shell languages, and Ruby is essentially a direct decedent of Perl.
10 u/budgiebirdman 15h ago This is the thread of truth I came looking for. All other answers are just discussions on whose farts smell the sweetest.
10
This is the thread of truth I came looking for. All other answers are just discussions on whose farts smell the sweetest.
13
u/traplords8n 16h ago
Bash is the same way but it makes sense considering 0 represents the single route of success, while other numbers can mean different error codes.
I have no idea why ruby does it, but in bash at least there is a solid reason for it.