IT lexicon Programming DRY

DRY Don't Repeat Yourself

Programming På svenska → Updated: 2026-05-23

Principle: the same logic should exist in just one place in the code.

When logic changes you don't have to hunt down every copy. Opposite: WET ("Write Everything Twice"). Like any principle it can be overdone — premature abstraction is worse than a bit of duplication.

← Back to the lexicon