Re:Redesigning Python's named tuples
by alexchamberlain on Friday September 01, 2017 @01:00PM
(#15150266)
Checkout [attrs](http://attrs.readthedocs.io/en/stable/) for a very powerful, yet equivalently short way of defining classes. Personally, I prefer defining them with the decorator rather than the shorthand, but attrs is definitely my library of choice for value semantic types.
[ Parent
| on HN ]
There are no comments on this comment yet.