Skip to content

MediumScenarioOOP and design

When would you choose a dataclass over a plain class or a namedtuple?

This answer is part of Pro

14 of 198 Python Developer answers are free. A Pro pass opens the rest, including hands-on task steps.

More on OOP and design

Flashcards for this topic