[Tutor] Python vs. Ruby

Gregor Lingl glingl at aon.at
Wed Oct 29 18:03:43 EST 2003


Daniel Ehrenberg schrieb:

>What are the advantages of Python over Ruby? 
>
Hi Daniel!

About two month ago Alex Martelli posted some very
informative thoughts on this theme (or vice versa?)
at comp.lang.python:

 http://groups.google.com/groups?selm=bhqr78021hp%40enews1.newsguy.com

 From there you can follow the whole thread of 248(!) contributions ... ;-)

Regards,
Gregor

>They both
>look pretty good sytactically. Python seems slightly
>more readable, but that's probably just because I know
>Python. Ruby does have annoying end keywords, but in
>Python, you have to write "self." before every
>variable within a class, whereas in Ruby you just
>prefix it with "$". Ruby typically writes shorter
>code, and I think that's pretty important (it's
>partially why I chose Python).
>Daniel Ehrenberg
>
>__________________________________
>Do you Yahoo!?
>Exclusive Video Premiere - Britney Spears
>http://launch.yahoo.com/promos/britneyspears/
>
>_______________________________________________
>Tutor maillist  -  Tutor at python.org
>http://mail.python.org/mailman/listinfo/tutor
>
>
>  
>




More information about the Tutor mailing list