You hear that sound? That subtle squeak which instantly reminds one of distant ducks quacking great spools of wood grain? Yeah, that one. That’s what it sounds like when the world gets together to code.
Matz spilled the cat two days ago on his blog, as one of the many testers I employed to shake apart my new Try Ruby online tutorial. I ran this sucker by the #hoodwinkd crew, the project.ioni.sts and the #rubyist.org gang, Florian Gross, and even the illustrious Guy Decoux. A very capable lot, I thank them all.
So, 205,000 lines of Ruby code in two days. I’m watching all this code come in and finding myself very entertained. Here’s a few of my favorite moments:
>> gem install rails
Approximately five people attempted to require "rails" or even render_text "w00t". But running gem install is just pricelessly wrong.
I also really like require 'tk'. I mean you really want to unfold that tent right in the middle of this beautiful prompt I’ve given you?
>> system.out.println("hola")
Fifteen people like that. I am really tempted to spoof it. I can see these guys getting a happy teeth expression and going, “Wow, Ruby really is easy!”
>> Kernel.fork { "hello" }
Lots of people got fork and puts mixed up.
>> while true; puts 'Joe Junkpan' end
I love it. That’s going to hurt you a lot more than it hurts me. Don’t forget not to type Symbol.all_symbols.
>> format c:
>> cd c:\
>> delete c:\
Oh no, my MP3s! My Usher collection! NO!
>> wtf?
>> hello?
About sixty people welcomed themselves to the interpreter by typing wtf. I should make it an alias for help.