Therefore:
The DRY (Don't Repeat Yourself) Principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
It's okay to have mechanical, textual duplication (the equivalent of caching values: a repeatable, automatic derivation of one source file from some meta-level description), as long as the authoritative source is well known.
by
nineowls
2007-03-26 09:46
DRY
·
patterns
·
develop
·
guide
·
principle
·
rules