braboj / tutorial-python

Awesome Python!
2 stars 2 forks source link

[Part B, Ch. 2] - Review and change example code #42

Closed Vasc01 closed 1 year ago

Vasc01 commented 1 year ago

2.1. Single Responsibility Principle

2.2. Open/Closed Principle

2.5. Dependency Inversion Principle

braboj commented 1 year ago

Done, but for 2.5 we will not use abstract classes as they are a little bit more specific and require knowledge about the six library. The problem is due to the incompatibility when using metaclasses, required by the abc module.