To DRY or not DRY?

A very interesting article about how DRY you should be in your specs.  

http://lindsaar.net/2008/6/24/tip-24-being-clever-in-specs-is-for-dummies

Personally I agree with everything said.  Readability comes first, even at the expense of efficiency and DRY; “be nice to those who have to maintain the code”.  The really interesting thing though is the example is actually quite DRY - it’s more about how you organise and order the code, more than repeating yourself.  

This entry was posted on Wednesday, July 9th, 2008 at 9:41 pm and is filed under Beautiful Code, Ruby on Rails and Software Development, Writing Reliable, Bug-Free Code. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

One Response to “To DRY or not DRY?”

  1. Tommie Riley Says:

    o7yl03bjfswcpaoz

Leave a Reply