The Daily Shaarli

All links of one day in a single page.

November 23, 2020

The other benefit of Python type annotations - Stav Shamir
thumbnail
Les autres bénéfices du typage python (types).

En anglais.

Extrait :
"
1   You can’t break the code by adding them (almost — I will elaborate in a future article)
2   They provide no performance gain
3   You may add them only where you see fit — I made myself a balanced rule of always annotating function signatures and module-scope variables, but I usually don’t bother to do so for local variables
"
Dirty Texture · 3dtotal · Learn | Create | Share
Comment salir une texture ?