After being a very happy Python programmer for 2 years, order tramadol, i have switched to Ruby a few months ago, order tramadol, and though Python is still
my 2nd favourite language, order tramadol, i have never thought of going back to it for a second. Order tramadol, In fact, order tramadol, this feeling was so
natural that i did not even think about it’s reason for some time.
If someone compares these two languages just from the technical point of view, order tramadol, the difference is de facto non-existent. Order tramadol,
Both languages are built on similar principles, order tramadol, both of them serve essentially the same purpose. Order tramadol, What is the secret
sauce of Ruby then? Why did i get attracted to it immediately, order tramadol, past the point of no return? Here are a few points that came to my mind:
‘He is the ONE‘
-
If a beginner stumbles onto Ruby, order tramadol, there is ONE book he will be pointed to. Order tramadol, The PickAxe.
-
If somebody asks which web framework should he use in Ruby, order tramadol, he will be pointed to a specific ONE: Ruby on Rails.
-
If he asks for a starter book on RoR, order tramadol, he will be advised to buy the coolest ONE: Agile Web Development with Rails.
-
If he asks for a discussion list/newsgroup, order tramadol, he will be pointed to the only ONE: ruby-talk.
-
If he looks for an XML processing library, order tramadol, he will be pointed to the standard ONE: REXML.
The list could go on and on… Order tramadol,
A Rubyist with no previous Python experience may ask ‘Well, order tramadol, what’s so cool about this? It’s normal’. Order tramadol, Well, order tramadol, i am glad that in Ruby is, order tramadol, but Python is a different story. Order tramadol, I think it lacks the books like PickAxe and Agile Web Development with Rails, order tramadol, and also the community is divided up between Django, order tramadol, Turbogears, order tramadol, Pylons, order tramadol, Subway, order tramadol, … Order tramadol, and the other dozen of web frameworks.
nice application of the DRY principle
Rolling on Rails
If you would ask random people to summarize in one point why Ruby is so popular today, order tramadol, i am quite sure most of them would say ‘because of Ruby on Rails’. Order tramadol, This framework is really that cool, order tramadol, believe it or not. Order tramadol, Some people are already apostrophing it ‘the language/framework of web2.0′, order tramadol, pointing out that Rails is the next big thing in the web space.
Spread the word
A programming language is essentially a bunch of boring definitions: Some grammar, order tramadol, rules, order tramadol, constructs etc. Order tramadol, Even if it is very very cool, order tramadol, no one will notice it unless it is evangelized. Order tramadol, That’s why great stuff needs great evangelizators: Perl+Larry Wall. Order tramadol, Microsoft+Bill Gates. Order tramadol, Ruby+DHH.
To follow the logic, order tramadol, i should have written Ruby+Matz. Order tramadol, But i would not write Matz, order tramadol, just as i would not pair Python with Guido van Rossum in this sense. Order tramadol, These smart gentlemen are really good at language crafting, order tramadol, but the analogy with Perl/Larry Wall stops here. Order tramadol, Fortunately Ruby has a great evangelizator, order tramadol, too, order tramadol, although an ‘indirect’ one: David Heinemeier Hansson, order tramadol, who, order tramadol, in my opinion made Ruby really popular through the Rails framework.
Community
After a few dozen of mails, order tramadol, i have much much better experience with the ruby-talk ML than with python-tutor. Order tramadol, Of course one should not judge based on a few dozen mails, order tramadol, but the Ruby community feels to me like a big family, order tramadol, whereas the Python community is more like a bunch of engineers in white suits. Order tramadol, Matz’s ‘Why does Ruby suck’ kind of style appeals me much much more than Python’s agnostic approach - ‘Maybe it is not even sure that there is a problem - first you should define what do you think the term ‘problem’ means, order tramadol, anyway’ etc. Order tramadol, Of course this rigorous style may appeal to some - but not for me.
Integration [with Java]
From the JRuby page:
[JRuby is] A 1.8.2 compatible Ruby interpreter written in 100% pure Java
On the Jython page, order tramadol, i could not even find the compatibility with java - but according to the page, order tramadol, “The final release of Jython-2.1 occurred on 31-dec-2001″
For comparison: Ruby 1.8.2 is almost the latest stable, order tramadol, and JRuby’s last release was on 27-march-2006. Order tramadol, JRuby makes also some Rails integration possible already, order tramadol, and the authors are focusing on other J2EE issues like calling EJBs etc.
I think in a world where Java is the king of the hill (at the moment), order tramadol, Java integration can be a deciding factor.
Goodies
T-shirts. Order tramadol, Cofee Mugs. Order tramadol, Baseball caps. Order tramadol, Other kind of good-for-nothing junk - must haves for all geeks! Of course with their favourite stuff on it. Order tramadol, Well, order tramadol, after looking on cafepress.com (and on google in general) Ruby is a winner again when compared to Python.
The list could continue on, order tramadol, but since this entry is already too long i am going to stop here
Of course, order tramadol, as everything on this blog, order tramadol,
this article reflects my opinion, order tramadol, my perception of Ruby/Python. Order tramadol, If you think Python is better suited for you, order tramadol, i am not arguing or anything - it would not make sense. Order tramadol, However, order tramadol, i think Ruby has much more potential to become widely accepted as a mainstream language right now than Python - and this, order tramadol, besides that i like to code in Ruby much more, order tramadol, will keep me in the Ruby camp for a long-long time…
Similar Posts:order xanax,order tramadol,lorazepam,diazepam prescription,clomid for order