Hey Luca, I suppose whether or not this feels like a big change is completely down to perspective, but from my point of view, the reasons this are:

The import syntax and lack of need to import the typing representation of the datatypes - allowing us to just use the native type.

I find this exciting as my favorite use of type hinting across any language that I have used is that in TypeScript. This new syntax brings the Python type syntax incredibly close to that of TypeScript, which I think is perfect.

On a more functional side - prior to this having two representations of the same datatype (typing.Dict and dict) is confusing and suggests that there are two different datatypes.

Both of these two together influence a more standardized use of type hinting - something I believe Python currently lacks.

Written by

Data scientist learning and writing about everything.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store