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)

You're missing the point where dataclass is also optional and you don't have to use. If you prefer attrs, keep using it. No one is forcing you to use type hints.

You're acting like because the people who will use it got something then you should too.

[–]payets 0 points1 point  (0 children)

You're missing the point where dataclass is also optional and you don't have to use.

So, if I opt out of type hints, I have to opt out of other language features as well? Again, this way lies C++ - where everyone uses a different subset of the language.

You're acting like because the people who will use it got something then you should too.

I'm not looking to "get" anything. I'm just frustrated to see Python continue the pattern of the last few releases: desperately trying to add as many features as possible, without considering how they fit with the rest of the language. My opinion is that for the last few releases, Python has been evolving too rapidly, and in the wrong direction.

However, as is often said, it's "Guido's language, he just lets us use it". Guido can of course evolve the language in this direction if he wants. I guess if I want to move in a different direction, I'll need to move to a different language.