r/programming • u/stesch • Aug 30 '08
Tour De Babel -- Rant about programming languages (at Amazon)
http://steve.yegge.googlepages.com/tour-de-babel
12
Upvotes
r/programming • u/stesch • Aug 30 '08
View all comments
Show parent comment
5
u/ubernostrum Aug 31 '08 edited Aug 31 '08
That operator delegates to the
__add()__method of its left-hand operand;a + bis literally the same asa.__add__(b), just with nicer syntax. And unless I'm mistaken, Ruby has no standalone, built-in object named "+" (instead using it as syntax to delegate to a method call, just like Python), so if this is an argument against Python it's one against Ruby as well.