4161 shaares
128 private links
128 private links
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
"