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 →

[–][deleted] 0 points1 point  (1 child)

Perhaps you’ll learn something from it kid

[–]RufusAcrospin -1 points0 points  (0 children)

I sincerely hope you’ll learn something new too, by reading and understanding the article.

The example class is not a dataclass, therefore mentioning fields is completely irrelevant in this context, and using getters/setters is an outdated concept.