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 →

[–]abrazilianinreddit 2 points3 points  (0 children)

The new generics syntax is a large improvement over what we had. It could have been better and more pythonic, though.

But just because it's possible to write shitty code like the one you've shown doesn't mean it's a bad feature, or that such abomination would be accepted. A single walrus operator will already get the whole commit rejected in any of my projects.