On Fri, Feb 14, 2020 at 09:53:27AM -0300, Soni L. wrote:
Nobody has implemented actual traits in Python yet, only mixins with extra steps
That's a bold claim, since the meaning of "traits" you gave earlier in the thread sounded to me exactly like "mixins with extra steps".
Michele Simionato wrote what is (in my opinion) *the* definitive series of blog posts on super, multiple inheritance, mixins and traits
and a library claiming to implement traits:
Unfortunately some of the links to external resources are now dead. However he seems to be basing his concept of traits on the paper which introduced the term:
If this is not what you mean by "traits", you ought to describe *precisely* what the word means to you and how they differ from Michele Simionato's library.