From: gabriele renzi Date: 2004-10-21T07:39:17+09:00 Subject: Re: Python vs. Ruby (Re: A concise description of Ruby?) Eivind Eklund ha scritto: > > Counter examples are (somewhat) welcome ;-) > I know some, the points I remember are: - @vars sux - $vars too - why should I write 'end'?? - functions should be objects and __call__ is cool (the function aplication operator, () ) - multiple inheritance is a good thing - __nonzero__ is sometimes useful (#to_bool for rubyists ) - blocks are useless - python's metaclasses are great - list comprehensions are far better than map() and the likes - hey, writing self is good, you can name it cls or ignore it when non writing instance methods - having separated concepts for statements and expressions is useful (just heard once) - callcc is the devil - TIMTOWTDI is a wrong concept - general dislike of %stuff literals - lack of named arguments - docstrings are cool note that not all of them think all this, I just summed all the different critics. But I think they just had a quick look at ruby, not a deep one, and they usually agree that in the end there are far more similarities than differences.