Skip to content

Adaptive Code Via C#: Agile — Coding With Design ...

: Encapsulate algorithms so they can be swapped at runtime.

: The "Red-Green-Refactor" cycle ensures code is always safe to change. Adaptive Code via C#: Agile coding with design ...

SOLID is the "how-to" of adaptive coding. Each principle targets a specific type of rigidity. Description Adaptive Benefit ingle Responsibility A class should have one reason to change. Easier to understand and less risk of side effects. O pen/Closed : Encapsulate algorithms so they can be swapped at runtime

: Move away from direct "newing" of objects. Adaptive Code via C#: Agile coding with design ...