SOLID Principles in Object-Oriented Programming

When

02/03/2022    
11:00 am-12:00 pm
François Durand
Nokia Bell Labs France

Where

Paris-Rennes Room (EIT Digital)
23 avenue d'Italie, 75013 Paris

Event Type

Once you know the basics of object-oriented programming, a more difficult step can be to design the architecture of your code for a given project: what should be an object, how to organize the classes, how to make them work together, etc. To that end, you can find help in the programming principles gathered in the SOLID acronym:

  • Single-Responsibility Principle.
  • Open-Closed Principle.
  • Liskov Substitution Principle.
  • Interface Segregation Principle.
  • Dependency Inversion Principle.

In this talk, I will explain what these esoteric terms mean and illustrate them with very simple examples, requiring only a minimal knowledge of Python.