Michael DeHaan ha scritto: > LOL. The Python example used quite a few core libraries, so I think > a one-line instantiation of WebBRICK would suffice for a web server > example :) ruby -rwebrick -e 'WEBrick::HTTPServer.new(:DocumentRoot=>".").start' but it is a oneliner in python too ;) > Seriously, these golf competitions don't do much for me. Show me > formatted code that applies some interesting algorithms instead. > That's how you spar with other languages! def qs(l) return [] if (x,*xs=*l).empty? less, more = xs.partition{|y| y < x} qs(less) + [x] + qs(more) end algoritm suggestions are welcome :)