Re:Show HN: Rust-Like Traits in Python
by webmaven on Sunday November 21, 2021 @04:50PM
(#29300094)
This reminds me of Python interfaces, which were inspired by Zope interfaces.
Choosing among competing interfaces overriding the MRO was a runtime configuration option, often using adapters to wrap other objects. This turns out to be handy when implementing a CMS extended with 3rd-party plugins that aren't written with each other in mind. Fun times!
Choosing among competing interfaces overriding the MRO was a runtime configuration option, often using adapters to wrap other objects. This turns out to be handy when implementing a CMS extended with 3rd-party plugins that aren't written with each other in mind. Fun times!