[LRUG] What makes a truly horrendous Ruby hack?

Daniel Lucraft dan at fluentradical.com
Fri Aug 22 00:47:58 PDT 2008


Thanks everyone, I've had a couple of really awful
suggestions, which is great.

I still need some more, so I'd like to give a little
preview of my talk and explain more precisely what
makes a truly 'horrendous' Ruby hack.

A Horrendous Ruby Hack has some or all of the
following properties:

 (1) it monkeys with core classes
 (2) it appears to change the syntax of the language
 (2b) it *actually* changes the syntax of the language
 (3) it redefines the behaviour of core classes
 (4) it would be absolutely impossible to debug unless
someone told you what it was doing
 (5) you'd get fired if you used it on production code

Also, let's focus on Ruby for now. Rails is too easy.

Please keep them coming.

best,
Dan







More information about the Chat mailing list