Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Learning S.O.L.I.D. Programming Principles

via LinkedIn Learning

Overview

Learn the SOLID programming principles to write more stable, scalable code. Get detailed examples and real-world examples of SOLID in action.

Syllabus

Introduction
  • Welcome
  • What you should know
  • Using the exercise files
1. Introduction to S.O.L.I.D. Programming
  • What could go wrong?
  • Explore a non-SOLID class
  • Overview of the SOLID principles
2. Interface Segregation Principle
  • Introduction to interface segregation
  • Segregate the example classes
  • ISP applied to example classes
  • The wrap vs. extend decision
  • Extend alternatives
3. Liskov Substitution Principle
  • Introduction to Liskov substitution
  • Interface variations
  • Substitution applied to example classes
  • Default values for parameters
  • Avoiding isinstance()
4. The Open/Closed Design Principle
  • Introduction to Open/Closed design
  • Modify a class and fix bugs
  • OCP via inheritance and composition
  • More OCP extension techniques
5. Dependency Inversion Principle
  • Introduction to dependency inversion
  • Dependency injection and application configuration
  • Testing consequences
6. Single Responsibility Principle
  • Introduction to single responsibility
  • High cohesion and indirection
  • GRASP patterns
7. A Design Process
  • CRC Cards
  • Test-driven design
Conclusion
  • Next steps

Taught by

Steven Lott

Reviews

4.3 rating at LinkedIn Learning based on 180 ratings

Start your review of Learning S.O.L.I.D. Programming Principles

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.