Hampton Lintorn Catlin

Bad Ruby

This is never acceptable in Ruby. Ever.

$_variable2 = String.new("development")

Comments

Nov 14, 2007
Nathan said...
Hahaha! Wow... that's... that's impressively terrible. It's hard to imagine packing more terribleness into one line.
Nov 16, 2007
Hampton said...
I can make it worse... Kernal.send(:eval, %|$_variable2 = String.new("development")|)