Re:Data Classification: Does Python still have a need for cl...
by zzzeek on Tuesday February 14, 2023 @09:59AM
(#34790225)
classes themselves are types, which is semantically valuable and also provides for a straightforward inheritance pattern. attributes on classes are easier to type. There's pep-589 TypedDict but it's not very easy to use right now.
[ Parent
| on HN ]
There are no comments on this comment yet.