Re:Hyperpolyglot: PHP, Perl, Python, Ruby
by treetrouble on Saturday August 13, 2011 @06:57PM
(#2882213)
There is a lot of non-idiomatic Ruby as well
Also it doesn't tell you that 'and' and 'or' are not equal to && and || in Ruby. http://hyperpolyglot.org/scripting#logical-operators
Backticks work:
Constants can be declared globally: Anonymous functions can be declared without create_function: I'm sure there are more. That said, I love these sorts of side-by-side comparisons.