Low Level DesignSOLID principles
Low Level Design: SOLID principles
Turn fuzzy requirements into classes with clear jobs, and defend every split.
6 topics.
- 01FoundationReadSOLID principlesWhat each principle buys you, and where it gets over-applied.
- 02FoundationReadSingle responsibility principleOne reason to change means one group of people who ask for the change.
- 03FoundationReadOpen/closed principleAdd behavior by adding code, at the places where change is likely.
- 04FoundationReadLiskov substitution principleA subtype must keep every promise its parent made, not just its method names.
- 05FoundationReadInterface segregation principleShape interfaces around what each caller uses, not around what a class can do.
- 06Mid-levelReadDependency inversion principleBusiness rules own the interfaces; databases and APIs plug into them.
More in Low Level Design
The designbeyondcode digest, every Saturday
New deep dives, interview tips and site news in one short email. Free. Leave with one click.
We never sell or share your email. We only use it to send this newsletter.