Don't repeat yourself (source code)

= Don't repeat yourself
{wiki=Don't_repeat_yourself}

"Don't Repeat Yourself" (DRY) is a fundamental principle in software development and programming aimed at reducing the repetition of code patterns and ensuring that every piece of knowledge, logic, or data is represented in a single, unambiguous location within a system. The DRY principle advocates that: 1. **Single Source of Truth**: Each piece of information should be stored in one place only.