Skip to content

DRY vs SoC

Applies on concepts

[!Why can't code be DRY?]- it's on concepts, not code

[!When to make things dry?]- Is it describing the same business concept? If yes, DRY. If no, separate.

[!Why DRY]- only one place to make a change

[! Why separation of concerns (Soc)] ?????

Why Unit testing

testing things in isolation


Last update: 2023-04-24