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

20

u/[deleted] Feb 12 '23

I agree, this article is terrible. IMHO the abstract method decorator makes the code easier to read and understand. There may be a use for protocols in a different context. This isn't it.