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

https://www.artima.com/weblogs/viewpost.jsp?thread=246488

and a library claiming to implement traits:

https://pypi.org/project/strait/

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:

http://scg.unibe.ch/archive/papers/Scha03aTraits.pdf

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.


-- 
Steven
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/6HGPTTMW7FFBMDBNGXPK35WFH5GIQUU5/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to