Posted by: terryhowe | November 7, 2011

DRY Principle

The DRY principle or “Don’t repeat yourself” states that “Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.”   Great principle, but I have been known to take this too far.  Sometimes you need to balance your KISS with you DRY to keep it simple stupid.  Just repeat the code if it avoids unnecessary complexity.

Advertisements

Responses

  1. DRY KISS you mean! Unlike the popular belief… 😉


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: