News for hackers. Stuff that matters.
Re:Show HN: Rust-Like Traits in Python by miohtama on Sunday November 21, 2021 @05:08PM (#29300241)
Something that fills the same need as traits have been available for Python in the form of zope.component architecture for some decades now

https://zopecomponent.readthedocs.io/en/latest/narr.html

However in the end abstract base classes and class decorators take you a long way. zope.component power is only useful for complex frameworks like Plone CMS and Pyramid.

There are no comments on this comment yet.