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

One explicit difference is that dataclasses don't support validating nested objects.

I'd use it for passing flat structures as function args rather than a massive list of individual args.



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

Search: