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