programmingconcepts

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.

  1. 7.1SOLIDFive principles for object-oriented code that stays easy to change: small parts, extended without editing, depending on abstractions.
  2. 7.2Design patternsNamed, reusable solutions to problems that keep coming up in software design, like Observer, Strategy and Factory.
  3. 7.3Dependency injectionGive an object the things it depends on from outside, instead of letting it create them itself.

Newsletter

One new concept each week, by email.

Signup opens soon.