Track 7
Design
Principles and patterns for code that stays easy to change: SOLID, common design patterns, and dependency injection.
3 pages. Read them in order: later pages build on earlier ones.
- 7.1SOLIDFive principles for object-oriented code that stays easy to change: small parts, extended without editing, depending on abstractions.
- 7.2Design patternsNamed, reusable solutions to problems that keep coming up in software design, like Observer, Strategy and Factory.
- 7.3Dependency injectionGive an object the things it depends on from outside, instead of letting it create them itself.