💩 Python Object Oriented Programming 🐍
Principles to follow:
-
Prefer composition over inheritance
-
Avoid
if
's -
Code for interface rather than implementation
-
Use Dependency inversion
-
OOP
is about objects and messages.
Each code has comments regarding some aspect to be discussed. They were written for study and may contain experiments, so be careful when examining the codes.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.