2 ms·
Dataclasses are basically just better namedtuples. They do work nicely with type-annotations, but the two features are kind orthogonal.
by wiml 3y ago
Dataclasses are basically just better namedtuples. They do work nicely with type-annotations, but the two features are kind orthogonal.