News for hackers. Stuff that matters.
Re:Don't let dicts spoil your code (2020) by xigoi on Sunday June 26, 2022 @04:06AM (#31882020)
A dataclass will get things like __repr__ for free.
Re:Don't let dicts spoil your code (2020) by PartiallyTyped on Sunday June 26, 2022 @04:07AM (#31882027)
Eq, hash, and init is also "free".