4 ms·
Checkout [attrs](http://attrs.readthedocs.io/en/stable/ http://attrs.readthedocs.io/en/stable/) for a very powerful, yet equivalently short way of defining clas
by alexchamberlain 9y ago
Checkout [attrs](http://attrs.readthedocs.io/en/stable/ 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.