@AndrasDeak--СлаваУкраїні I heard the syntax broke typing library(s) as the T is scoped to the expression (function, class, maybe deceleration) rather than globally with the, old, standard way of defining T from TypeVar. As far as I remember people were not happy with a lot of the PEP. Kinda surprised the PEP came out so fast given the issues.
I don't see the problem, it's a massive upgrade compared to how typevars worked before
Narrator voice: In the year 2024, programmers realized that variables are best declared in the scope where they're relevant, rather than globally. This realization marked a significant milestone in the IT world, just like it had the previous 5823 times
Hmm. I'm not a huge fan of it either, but I think that's primarily because I'm already used to the current system and it's unclear what the benefit of using type is. But that's probably just a temporary issue that'll go away once it becomes the universally accepted way to define type aliases
Though... it might make it less obvious that you can access typevars and type aliases at runtime, unlike in languages like typescript