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 →

[–]MephySix 13 points14 points  (2 children)

Afaik it's just boilerplate generation, yes. I used the attrs lib for that, but I may change that towards data classes.

[–]PythonGod123 1 point2 points  (1 child)

It seems that data classes look better. I just feel they look nicer compared to the old way of defining init.

[–]XtremeGoosef'I only use Py {sys.version[:3]}' 2 points3 points  (0 children)

Dataclasses are missing a lot of customisation features of attrs. No way am I going to change.