perspective on ruby

Edward Elliott nobody at 127.0.0.1
Thu Apr 20 17:35:08 EDT 2006


Peter Otten wrote:
> Edward Elliott wrote:
>>The fact that even numeric literals are objects make me suspicious of Ruby
>>as a general-purpose language though. 
> 
>>>>add_one = 1 .__add__
> 
> Just in case you didn't know...

True enough, but I don't often see Python code treating numbers as objects. 
  In Ruby it's right in the tutorials.  Which may be fine; I'm not 
discounting Ruby, I'm just cautious.



More information about the Python-list mailing list