DRY principle

E97054

The DRY (Don't Repeat Yourself) principle is a software development guideline that emphasizes reducing repetition by centralizing logic and data to improve maintainability and reduce errors.

AI illustration

How this image was made

AI-generated illustration of DRY principle

This AI-generated illustration was produced by black-forest-labs/FLUX.2-dev (1024x1024) from a prompt written by openai/gpt-oss-120b from the entity's label + description.

Prompt

Generate an image of DRY principle (The DRY (Don't Repeat Yourself) principle is a software development guideline that emphasizes reducing repetition by centralizing logic and data to improve maintainability and reduce errors.)

All labels observed (3)

How this entity was disambiguated

Statements (50)

Predicate Object
instanceOf software development principle ⓘ
software engineering guideline ⓘ
abbreviation DRY ⓘ
aimsTo improve consistency ⓘ
improve maintainability ⓘ
reduce errors ⓘ
simplify changes ⓘ
appliesTo build scripts ⓘ
configuration management ⓘ
database schemas ⓘ
documentation ⓘ
source code ⓘ
test cases ⓘ
canBeViolatedBy copy-paste programming ⓘ
duplicated business rules ⓘ
duplicated configuration values ⓘ
canLeadTo over-abstraction if misapplied ⓘ
contrastedWith WET code ⓘ
shotgun surgery ⓘ
encourages abstraction ⓘ
centralizing business logic ⓘ
centralizing configuration ⓘ
centralizing validation rules ⓘ
modular design ⓘ
reuse of code ⓘ
single source of truth ⓘ
focusesOn reducing duplication of code ⓘ
reducing duplication of data ⓘ
reducing duplication of logic ⓘ
fullName Don’t Repeat Yourself ⓘ
linked to: DRY principle
helpsWith avoiding divergence of duplicated logic ⓘ
improving readability ⓘ
improving testability ⓘ
reducing bug surface area ⓘ
reducing maintenance cost ⓘ
isMentionedIn software engineering literature ⓘ
isUsedIn API design ⓘ
functional programming ⓘ
object-oriented programming ⓘ
procedural programming ⓘ
web application development ⓘ
originatedIn software engineering community ⓘ
relatedTo KISS principle ⓘ
Single Responsibility Principle ⓘ
YAGNI principle ⓘ
code reuse ⓘ
refactoring ⓘ
supports clean architecture ⓘ
domain-driven design ⓘ
layered architecture ⓘ

How these facts were elicited

Referenced by (5)

Full triples — surface form annotated when it differs from this entity's canonical label.

Django → designGoal → DRY principle ⓘ
The Pragmatic Programmer → hasConcept → DRY principle ⓘ
DRY principle → fullName → Don’t Repeat Yourself ⓘ
linked to: DRY principle
David Thomas → notableConcept → DRY principle ⓘ
Ruby on Rails → designPhilosophy → DRY (Don’t Repeat Yourself) ⓘ
subject linked to: RoR
linked to: DRY principle