8 ms·
Python has Protocols. They work like Go interfaces
by galbar 1y ago
Python has Protocols. They work like Go interfaces
- kragen 1y agoSure, but for the most part people don't use them, because you don't have to; Python method calls are always potentially polymorphic, unlike Golang method calls.