From: Justin Collins Date: 2006-12-06T11:24:22+09:00 Subject: Re: "more than enough rope" Giles Bowkett wrote: >> I've wondered this too after I've written something that looks a bit >> too clever for its own good. > ... >> Usually, when something >> looks like Ruby for Ruby's sake, it's because before I wrote it, I >> wasn't good enough to understand it (never figured out how that >> works...). If I feel like a better programmer afterwards, it stays. > > The "if I feel like a better programmer afterwards" thing seems to be > the litmus test. The main thing I'm thinking of, it was actually a > thread here a little while back, it uses eval() and > instance_variable_set() to create a little search controller in Rails > that can handle simple searches on a wide range of models. It does a > lot in a very small space, I was very proud of it. In fact I love it > so much that sometimes I buy it chocolates and sing to it. I showed it > to somebody as a code sample, in an interview process. The person I > showed it to dissed it. I told him that he must be a Philistine and a > servant of Satan, and the company broke off the interview process, > apparently upset that it had gotten so Biblical. That's hilarious :) -Justin (Still grinning)