With PEP 557 data classes are introduced into python standard library.
They make use of the @dataclass
decorator and they are supposed to be “mutable namedtuples with default” but I’m not really sure I understand what this actually means and how they are different from common classes.
What exactly are python data classes and when is it best to use them?