nulltrap.com

2007/08/21

DRY: Don’t Repeat Yourself.

Filed under: Philosophy, Utility — Dan @ 14:42

This is a good principle to follow when writing code (although it works in other areas of life too!). It may help you someday. Tell all your friends.

Directly Read The Article in Wikipedia

Read it, know it, love it. Here is the 30 second version, paraphrased:

What: DRY is a process philosophy aimed at reducing duplication

Why: Duplication increases the difficulty of change or innovation, may decrease clarity, and leads to opportunities for inconsistency.

Coolness: A modification of any single element of a system does not change other logically-unrelated elements.

Elements that are logically related all change predictably and uniformly, and are thus kept in sync.

No Comments

No comments yet.

RSS feed for comments on this post. TrackBack URL

Sorry, the comment form is closed at this time.

WP All rights reserved, Copyright 2007-2009 nulltrap.com Page rendered in 0.262 seconds