Oop

Object Oriented Programming

Very instructive video on the basics of OOP. What is a Class, what is a method ? How they can be of interest for :

  • encapsulation (need to see this part again)
  • inheritance
  • polymorphism

Great teacher. Look for additional tuto.

https://www.youtube.com/watch?v=MikphENIrOo

DataClass

https://www.geeksforgeeks.org/data-classes-in-python-an-introduction/

https://testdriven.io/blog/clean-code-python/

https://www.pythontutorial.net/python-oop/python-abstract-class/

Everything Is an Object in Python

We’ll tell you a secret: you’ve been using OOP all the time without noticing it.

Even when using other paradigms in Python, you still use objects to do almost everything.

That’s because, in Python, everything is an object.