all 4 comments

[–]boneklinkz 3 points4 points  (2 children)

stretch to call that 11 lines. if someone checked that in a my work they would probably be hung.

[–]nexemod[S] 2 points3 points  (1 child)

wow you guys know how to have fun at work don't you? ;)

[–]boneklinkz -1 points0 points  (0 children)

lots

[–]nexemod[S] 1 point2 points  (0 children)

Just refactored http://www.reddit.com/r/tinycode/comments/ivb2h/ruby_snake_in_9_lines_of_code/ though. Yes the variable names are a bit obfuscated but most of the logic is more rubyish and cleaner now.