Language Comparisons Are So Lame...
From a Ruby programmer’s perspective, I was a little upset that this guy clearly didn’t know how to program, or at least use Ruby. So, I’ve taken the liberty of cleaning up the Ruby example and posting the revised version here
He made a claim that Ruby was the second longest example due to all the end lines. Here’s the count using my updated version of his code:
1 2 3 4 5 6 7 8 9
P.S. Lazyweb, anybody know of a more idiomatic method of doing what he does with the copy method? I replaced some of his calls with Object#dup, but some were basically reinitalizing self, which dup doesn’t do.