Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There's good discussion in this thread about when and why to use attrs, pydantic, or stdlib dataclasses; I have my own thoughts too.

But all I can really feel is gratitude for all of us not having to do namedtuple/slot contortions anymore. Good riddance.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: