14 Feb
2020
14 Feb
'20
4:14 p.m.
On 02/14/2020 04:53 AM, Soni L. wrote:
That's not traits. That's its own thing. That's not even mixins, it just seems to be type-checked attributes. Nobody has implemented actual traits in Python yet, only mixins with extra steps and there are 2 libraries providing these type-checked attributes and calling them "traits" for whatever reason (they're not).
Probably because the word "traits" can be applied to more than one thing: - a person's traits - a family's traits - a language's traits - an attribute's traits - a class' traits - etc., etc. -- ~Ethan~