Re:Data Classification: Does Python still have a need for cl...
by bl0rg on Tuesday February 14, 2023 @06:58AM
(#34788152)
1. Dots are nicer to type for sure
2. It's a bit easier to define types for class attributes than dictionaries IMO
3. You can absolutely have methods on dataclasses
[ Parent
| on HN ]
There are no comments on this comment yet.