r/programming • u/stesch • Aug 30 '08
Tour De Babel -- Rant about programming languages (at Amazon)
http://steve.yegge.googlepages.com/tour-de-babel
11
Upvotes
r/programming • u/stesch • Aug 30 '08
View all comments
Show parent comment
9
u/akdas Aug 31 '08
In Ruby, you don't have to inherit from
Arrayto get a bunch of methods that operate on list-like objects for free by simplyincludeing theEnumerablemodule.Like Ruby's
Enumerable.I like Python, and I understand it has a different philosophy, but examples like this are why I prefer Ruby (once again, it's purely a personal preference).
Now if only Ruby's built-in file manipulation libraries were better.