On Mon, Sep 24, 2012 at 1:13 PM, Roelof Wobben <[email protected]> wrote:

> If I understand it right the principle is the same as the DRY method

DRY is a meta principle: the reduction of redundancy (or: repetition)
is the driving force behind many patterns and refactoring approaches.
Identifying common behavior and finding proper abstractions for it is
one of the core tasks in software engineering - if not the single most
important task we do.  It gives you

 - reduced code size
 - less errors during maintenance (if the same code appears n times,
you will have to fix a bug or implement an extension of the
functionality in n locations and can easily forget one).
 - sometimes increased complexity

Kind regards

robert

-- 
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/

-- You received this message because you are subscribed to the Google Groups 
ruby-talk-google group. To post to this group, send email to 
[email protected]. To unsubscribe from this group, send email 
to [email protected]. For more options, visit this 
group at https://groups.google.com/d/forum/ruby-talk-google?hl=en

Reply via email to