3 ms·
I strongly suggest the Attrs library for cutting down the boilerplate of making small "data classes": https://attrs.org/ https://attrs.org/ With type annotatio
by nerdponx 5y ago
I strongly suggest the Attrs library for cutting down the boilerplate of making small "data classes": https://attrs.org/ https://attrs.org/
With type annotations, you can move away from "inheritance OO" to logicless "data classes" and functions that operate on them.