From: gabriele renzi Date: 2003-03-20T09:35:30+09:00 Subject: Re: Strong advantages over Python il Thu, 20 Mar 2003 10:59:03 +1100, Greg McIntyre ha scritto:: >> I still can't find a good comparison with Python that is not >> superficial. Sure, Ruby might be better designed, but how does >> this affect you in practice? Can you give an example of something >> that can be done in Ruby that would not be so easy in Python? just my 2 cents: - Iterators you can totally abstract your logic from the inner knowledge of a class. I think this is so good that they imported it in 2.3 :-) - Complete OO ok, you may say: why do I need it? and I say... - (Coherent +Simple) Language in python you see someway obj.method and someway met(obj) and in the past you had differences beetween types and classes, you need to write an __add__ method to have "+" , I see __methods__ anywhere and so on. Actually I even dislike literals in ruby, I admit it. - POLS+Syntax sugar when prototyping with one of those language, you'll love them, if you need to remember how to do one thing you may even write directly the code in ADA. You're at the High Level ain't you? But, anyway, you know, every language will fall into The Big Language Crash, when every language would be multiparadigmish, OO, interpreted, VM'ed, dinamically typed, with lambda and cotinuations and substantially based on Hashes, and you would have translators from MyLang to Lingo++ that would simply change the #! line in the script file ^_^