News for hackers. Stuff that matters.
Re:Proposing a Struct Syntax for Python by xapata on Wednesday June 14, 2023 @03:04PM (#36330928)
Dataclasses wind up cumbersome over time. They're nice when the defaults are what you want. After a handful of default overrides, I'd rather have not used dataclasses.
Re:Proposing a Struct Syntax for Python by taeric on Wednesday June 14, 2023 @03:20PM (#36331151)
In the office job, I'd push on why the defaults didn't work out. In particular, I would be worried that I was specifically aiming to make future life a bit harder by not fitting with the defaults of dataclass.

To that end, I'm curious what defaults you didn't use?