3 ms·
I think of dataclasses as glorified tabular data that is not of size to justify numpy. Once the need to tart up the class methods or do any inheritance crops u
by smitty1e 4y ago
I think of dataclasses as glorified tabular data that is not of size to justify numpy.
Once the need to tart up the class methods or do any inheritance crops up, make a "proper" class.
None of that has an technical basis, but there is value in being methodical with the coding choices.