/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

blog.derlin.ch
| | florimond.dev

Type hints add optional static typing to Python 3.5+, and I love them. I now use annotated variables throughout my projects.
2.4 parsecs

Travel
| |
| | blog.florimondmanca.com

Type hints add optional static typing to Python 3.5+, and I love them. I now use annotated variables throughout my projects.
2.3 parsecs

Travel
| |
| | adamj.eu

In a type hint, if we specify a type (class), then we mark the variable as containing an instance of that type. To specify that a variable instead contains a type, we need to use type[Cls] (or the old syntax typing.Type).
2.0 parsecs

Travel
| |
| | blog.jonlu.ca

A common mistake people make is conflating strong typing with static typing.
21.6 parsecs

Travel
|