A software development principle holding that every piece of knowledge or logic in a system should have a single, unambiguous representation, so that a change to that knowledge needs to be made in only one place.
Facts
Core PrincipleEvery piece of knowledge must have a single, unambiguous, authoritative representation within a system 1 Connections
Sources
1. Don't repeat yourself - Wikipedia
References section
Hunt, Andrew; Thomas, David (1999). The Pragmatic Programmer: From Journeyman to Master (1 ed.). US: Addison-Wesley. p. 328. ISBN 978-0-201-61622-4.
Introduction (lead section)
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system
In Group: Software Engineering Practices, Lead
"Don't repeat yourself" (DRY) is a principle of software development aimed at reducing repetition of information which is likely to change, replacing it with abstractions that are less likely to change, or using data normalization which avoids redundancy in the first place.
View the SourceReader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.
Sign in to dispute this or suggest a correction.