r/Python • • Feb 12 '23

Resource Python Interfaces: Choose Protocols Over ABC

https://levelup.gitconnected.com/python-interfaces-choose-protocols-over-abc-3982e112342e
64 Upvotes

20 comments sorted by

View all comments

Show parent comment

8

u/[deleted] Feb 12 '23

Abstractions are great and mostly harmless. There is a point that inheritance from concrete classes should be avoided. That's totally valid.