Development Methods & Design

DRY Principle

English

Overview

The idea of avoiding writing the same information or logic more than once.

Details

Short for "Don't Repeat Yourself." A design principle stating that duplicated knowledge or logic should be avoided and consolidated in one place. It's often cited as the motivation for extracting shared logic into a function.

More Programming terms