This is what it says in the document:
This module provides a decorator and functions for automatically adding generated special methods such as
__init__()
and__repr__()
to user-defined classes.
Accordingly, I can use dataclass in every class, but should I really use ?
I really don't understand when should I use it, I'm curious about your ideas.