Glossary

Don't Repeat Yourself

by Frank Zickert

Don’t Repeat Yourself (DRY) is a software design principle that says every piece of knowledge or logic should exist in only one place in a codebase. Repetition creates multiple sources of truth, which increases the risk of inconsistencies and maintenance errors. Following DRY means refactoring duplicate code into reusable functions, modules, or abstractions.