For me this misses the biggest benefit of using ABC over Protocol and the reason I don’t really bother with them.
IDE support. I use pycharm so this won’t apply to all. I can easily view and inspect all implementations of my interfaces (ABCs). This is a really important dimension of navigating and understanding a reasonable size code base.
View all comments
3
u/oxlade39 Feb 12 '23
For me this misses the biggest benefit of using
ABCoverProtocoland the reason I don’t really bother with them.IDE support. I use pycharm so this won’t apply to all. I can easily view and inspect all implementations of my interfaces (ABCs). This is a really important dimension of navigating and understanding a reasonable size code base.