CSC/ECE 517 Summer 2008/wiki2 5 31: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:




DRY, is also known as Single Point of Truth. This process is aimed at simplifying the maintenance of code.    The philosophy emphasizes that information should not be duplicated, because duplication increases the difficulty of change, may decrease clarity, and leads to opportunities for inconsistency.
When the DRY principle is applied successfully, a modification of any single element of a system does not change other logically-unrelated elements. Additionally, elements that are logically related all change predictably and uniformly, and are thus kept in sync.
http://en.wikipedia.org/wiki/Don't_repeat_yourself





Revision as of 19:29, 24 June 2008

DRY Principle

DRY means: Don't Repeat Yourself.

The DRY code philosophy is stated as every piece of knowledge must have a single, unambiguous, authoritative representation within a system. http://en.wikipedia.org/wiki/DRY_code


DRY, is also known as Single Point of Truth. This process is aimed at simplifying the maintenance of code. The philosophy emphasizes that information should not be duplicated, because duplication increases the difficulty of change, may decrease clarity, and leads to opportunities for inconsistency. When the DRY principle is applied successfully, a modification of any single element of a system does not change other logically-unrelated elements. Additionally, elements that are logically related all change predictably and uniformly, and are thus kept in sync. http://en.wikipedia.org/wiki/Don't_repeat_yourself





External Links

Back to the assignment page