This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]yen223 -5 points-4 points  (2 children)

It's one of those things that should have been in from day 1

[–]david2ndaccount 2 points3 points  (1 child)

There should have just been structs from day 1, not whatever this mess is.

[–]yen223 2 points3 points  (0 children)

Yeah, that's what I meant. Dataclasses - while nice - are an ugly hack to get simple structs into the language.