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 to SOLID Programming
  • Benefits of SOLID Programming Principles
  • What could go wrong?
  • What could go wrong? Part 2
  • Overview of the SOLID principles
1. Interface Segregation Principle
  • Introduction to the Interface Segregation Principle
  • Problem domain objects: Individual data samples
  • Collections of samples
  • Reading and building samples
2. Liskov Substitution Principle
  • Introduction to the Liskov Substitution Principle
  • Duck Typing
  • Interface variations
  • Avoiding isinstance()
3. The Open/Closed Design Principle
  • Introduction to the Open/Closed Design Principle
  • Modifying a class and fixing bugs
  • OCP via inheritance and composition
  • More OCP extension techniques
4. Dependency Inversion Principle
  • Introduction to the Dependency Inversion Principle
  • Dependency injection and application configuration
  • Testing consequences
5. Single-Responsibility Principle
  • Introduction to single responsibility
  • GRASP patterns: High cohesion and indirection
  • More GRASP patterns
6. A Design Process
  • CRC cards
  • Test-driven design
Conclusion
  • Apply SOLID principles to your work

Taught by

Steven Lott

Reviews

4.4 rating at LinkedIn Learning based on 611 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.