>>9
But in Ruby, you write [1, 2, 3].length to get the length of your array, instead of len([1, 2, 3]) in Python which is strange to me because Python mixes both syntax (and I don't really like this).
I really hope Ruby will reach Python's speed in the future because I love this language (but it's slower than Python for a lot of programs). Well, I'll troll a bit and tell you to try this:
Python> a = [ x**2 for x in xrange(100000) if x % 2 == 0 ]
Ruby> a = (0 ... 100_000).select { |x| x % 2 == 0 }.map { |x| x**2 }
An example where Ruby is 5 times faster ;)
>>14 you're a pervert. Here is something for you:
http://www.menuetos.org/