HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by ReflectedImage | Hacker News Reader
Parent
Full thread
ReflectedImage
·
That's what a class is for.
View on HN
Spivak
·
Right but that's @dataclass. Being a replacement for classes in commonly used situations is one of its design goals.
Reply on news.ycombinator.com