Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
There should be a PEP for promoting dataclass from decorator to keyword (twitter.com/kinglycrow)
1 point by ianbutler on April 28, 2023 | hide | past | favorite | 1 comment


I strongly dislike this idea. The only reduction in boilerplate is the missing import, aside from that it's pretty much the same - and introducing language keywords just to save an import isn't a good enough justification.




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

Search: