Find What Changes and Fence It Off

When the part of a program that changes every week is mixed into the part that shouldn't change, every change risks the rest; finding what changes and giving it a home of its own, behind one wall, is the idea behind almost every design pattern, and it comes with two words worth knowing: coupling and cohesion.

By

Updated

Cheat sheet: Find What Changes and Fence It Off
Category
Data Structures
Level
Apprentice
Tags
cohesion, coupling, Encapsulate What Varies, OOP, software-development