List of comparison between the two, done by others. [UPDATE (02/17/2009)]:
This post is aggregation of (good quality) flame wars between Python and Ruby.
A flame war can be considered good quality if:
- Most of the commenters actually provide good reasoning on why they choose 1 side over the other.
- Most of the commenters demonstrate decent knowledges over the subject, as opposed to emotions.
What I think about both [UPDATE (09/03/2008)]:
- I’m a major Python fanboi. Thus, Python is perfect and infallible =P
- Except the fact that join() is String instance method.
- As for what I think about Ruby, it is actually quite nice. Here are some examples:
- object.methods #Quick way for figuring out what you can do with an object.
- require ‘time’; Time.now # Ruby Time object is really convenient.
- join() is actually Array instance method, not Sting.
- What I don’t like about Ruby:
- I don’t like writing ‘end’ again and again. Though, I know the same argument could be made against Python: “I don’t like to always worry about stupid indentation”
Here are the links:
- This (lambda-the-ultimate.org) is the first site on Google Search “ruby vs python”, and deservingly so. The comments are flame-y but interesting at the same time.
- Michael Tsai post. Smack down between Perl vs Python vs Ruby. The flame war uses List as its battlefield. The sample codes include list comprehension, filter, lambda, block, and various Perl idioms. Very good flame war!
- Slashdot…. (A Piece of CherryPy) This old post starts out describing cherrpy and ends up being ruby vs python bashing.
- This guy(Johan Kiviniemi) is definitely pro ruby, and he explains his reasoning. Amusingly, at the bottom of his blog, notice: from __future__ import ruby
- 37Signals old post. This is definitely old post, but DHH comments about Struts is still highly amusing.