Software Design Principles
Learn how developers design code that is cheap to change: coupling and cohesion, the OOP pillars and UML class diagrams, the SOLID principles, a handful of classic design patterns, and the MVC family. Every idea comes with short Python you can run.
- Intermediate level
- 4 modules
- 10 lessons
- 40 quiz questions
Syllabus
01Design for ChangeWhat software design is for, how coupling and cohesion decide whether a change stays small, and when the slogans KISS, YAGNI and DRY help or mislead.2 lessons
02Objects and DiagramsThe four pillars of object-oriented programming, why many designers reach for composition before inheritance, and how to read and draw a UML class diagram.2 lessons
03The SOLID PrinciplesFive class-design principles, each shown as Python that breaks it and a version that fixes it: single responsibility, open and closed, Liskov substitution, interface segregation and dependency inversion.3 lessons
04Patterns and MVCWhat design patterns are and when to leave them alone, then Singleton, Factory, Strategy, Observer, Adapter and Decorator in Python, and finally how Model-View-Controller and its relatives organise a user interface.3 lessons