From: Costan Date: 2008-07-06T09:01:41+09:00 Subject: Re: Does Ruby have any advantage over Python to create semantic applications? On Jul 5, 3:11 pm, Marc Heiler wrote: > > The reason is that I want to create an application [...] > > that is very demanding in semantic search capabilities > > and creating lots of theory-like relations. > > Sounds highly advanced :D > > I am not sure what differences you expect, because ruby and python are > after all very, very similar. Python has probably a small advantage > concerning speed and projects using it than ruby ("being more > established"). > > Ruby's OOP structure is a lot more natural, and being able to omit () > makes the code a LOT more readable too, IMHO. > >   cat.meow_how(:furiously).then.attack 'johnny the dog' > > Granted this looks somewhat weird but python will only look more weird > IF one does this but in python one must carry the () and use explicit > "self". > > But to be honest really, both are very similar. > > The biggest difference is that Python emphasizes on rules, > and Ruby emphasizes on fun. ;) > -- > Posted viahttp://www.ruby-forum.com/. Thanks a lot Eric, Dave and Mark, I found the text that made me think of Ruby as having some advantages for semantic processing: " I will probably still fall back on Ruby for text-processing scripts as its always been stellar for those kinds of tasks" (in http://blog.cbcg.net/articles/2007/04/22/python-up-ruby-down-if-that-runtime-dont-work-then-its-bound-to-drizzown). But reading your answers it seems there's no real advantage for this particular purpose so that guy must be wrong... I still will need to investigate more or just try both to decide which one fits better my needs. I don't know what you meant by "fun" and "beautiful" and although the Ruby's there's-more-than-one-way-to-do-it sounds like more things to remember and more time needed to learn it and also like giving freedom to users-programmers because the author lack the clarity on what is the best way to do it, I'm really intrigued and attracted by those "fun" and "beautiful" words (could it be related with what I read in Why's manual that the language should make you improve the way you think? Or perhaps this is truth for several languages like Python. In any case, if there is something I'm finding clearly attractive about Ruby is the honesty and friendly support and of its community. Warm regars, Costan :) P.s Eric, I can't found where I read about prototype but it seems also clear that I was just interpreting the words with my own concepts. Thanks again for the clarification.