Python dataclass: Taking advantage of the new decorator
3 min readNov 18, 2022
Introduction
Python 3.7 introduced a new and really interesting decorator called dataclass. Despite this decorator offers no new functionality, which means that it does not offer a new possibility to python developers in terms of implementation, it makes it way easier to define classes oriented to store data. Think of it like what we used to call “Plain Old…