9 Python @dataclass Best Practices To Improve the Development Process

An exploration of the benefits of @dataclass

Bruce H. Cottman, Ph.D.
Better Programming
Published in
11 min readJan 2, 2023

--

Photo by Amr Taha on Unsplash

Why @dataclass?

My first language was FORTRAN, which is more or less unusable for distributed computing because of global variables. I vowed back then to avoid global variables if I could.

--

--

I write my blog utilizing decades of experience in investment, programming, and data science.