RubySource: Code Safari: Underscore Madness

Last week I came across an excellent presentation from the Scotland Ruby Conference: “Literary Criticism for the Idle Programmer” by Roland Swingler . It introduced me to a crazy little ruby script that allows you to write programs entirely in underscores! # hello.rb require “_” ____ _ _____ ____ __ ____ ____ __ ___ ____ __ __ _ ______ _____ ___ _ _ ___ _____ ______ ____ _ _ ____ _ _ ____ _ ____ __ __ ___ _ ______ ___ ____ __ ______ ____ _ ____ ____ __ _ ____ _ _ ___ _____ _____ _ ______ ____ _ ______ _____ That’s a hello world app, right there. I scarcely believed it either. Roland steps through briefly how this code works in his talk, but given our previous obfuscation adventures , I wanted to dive in a little deeper

Read this article:
RubySource: Code Safari: Underscore Madness

This entry was posted in Ruby on Rails Tutorials & Articles, Ruby Tutorials and tagged , , , , , , , , , . Bookmark the permalink.