From: Lothar Scholz Date: 2005-01-10T05:31:16+09:00 Subject: Re: Python vs Ruby Hello Premshree, PP> On Mon, 10 Jan 2005 04:06:40 +0900, Lothar Scholz PP> wrote: >> Hello Lethalman, >> >> L> (sorry for my poor English) >> L> Hello, >> L> i'm a pythonist but i like very much some ruby features, however it >> L> doesn't seem to be very supported at all like Python. >> L> I never programmed in ruby, because i python is more used. >> >> L> I would like to know why ruby doesn't "take the fly" like Python did, >> L> because i really would like to try the ruby language! >> >> At the moment i would say that the language is in some aspects better PP> Could you elaborate on those aspects? Orthogonal OO design, blocks and open classes are in my opinion the only serious differences in the language. A mark-sweep GC vs. reference counting GC is also a huge difference but only visible in the C-API. I think that the GC is the reason why many people find writing ruby extensions is easier then writing python extensions - also the basic ruby routines are easier to call from C then in python. IMHO the different syntax shouldn't be an argument for a "serious" programmer. But i prefer ruby's syntax when written and indented in a good way. The situation where you get cascaded 'end's at the end of a method or class is quite confusing in python, because with multiple 'ends' you have a better visual hint then one huge de-indentation. -- Best regards, emailto: scholz at scriptolutions dot com Lothar Scholz http://www.ruby-ide.com CTO Scriptolutions Ruby, PHP, Python IDE 's