News for hackers. Stuff that matters.
Re:What's better about Ruby than Python? - comp.lang.python by xtho on Friday August 27, 2010 @05:39AM (#1638362)
"In some languages, you have some objects with methods named size, some with length, etc."

In ruby you dont. It's #size and ruby is quite consistent in this respect. So it's remembering a method name vs remembering a function name (in a supposedly OO language).

Re:What's better about Ruby than Python? - comp.lang.python by nanairo on Friday August 27, 2010 @08:01AM (#1638544)
Actually in Ruby you can often use both #size and #length.

It's part of the Ruby's philosophies to have synonyms like that.