Checking your account

You can read the lesson while its saved answers and constructions load. Learning controls will open once that work is ready.

DRY and Shared Rules

DRY and The Pragmatic Programmer

BOTIE

Maintaining software often meant changing a fact that had been copied into several places. Hunt and Thomas described DRY, meaning Don't Repeat Yourself, in The Pragmatic Programmer as a principle about keeping knowledge represented authoritatively within a system.

That framing matters. Two calculations can contain similar syntax while expressing different policies. Sharing a greenhouse safety limit is useful because the reports must follow the same decision. Combining an unrelated comfort limit merely because it is also a comparison would make later changes harder to understand.

Sources for this history