Encapsulate What Varies

Encapsulate What Varies

Encapsulate What Varies, or ‘Encapsulate What Changes’ is the technique of reducing the impact of frequently changing code by encapsulating it. The encapsulated code can then change independently to code that relies on it.

Whilst this principle relates specifically to code that frequently changes there are many benefits to encapsulating code, unrelated to how often it changes. Such as:

If you have any suggestions on how I can improve this sketchnote then please let me know @SketchingDev