Evolution of a Ruby Programmer(gist.github.com)
gist.github.com
Evolution of a Ruby Programmer
http://gist.github.com/295352
4 comments
In my opinion, the "Newbie programmer" and the "Discovered ternary operators" are the clearest and simplest and can be understood by anybody who knows a C-like; the first one especially is the clearest to anyone.
I'm not a Ruby programmer, though--are there increasing performance gains as the function evolves?
I'm not a Ruby programmer, though--are there increasing performance gains as the function evolves?
This was the 2nd program I wrote in Ruby (I know it's recursive and therefore inefficient but my goal was to see how short I could make it not how efficient)