|
|
|
|
|
by niktar
1749 days ago
|
|
Hi. Python has typing. I use it exactly how you describe. First stage of module I develop is usually without types. As soon as I feel some stabilization - I think twice :) then add types and 'mypy' checks my module.
My colleague says this idea came to python from TypeScript. Maybe it's true. I don't know TypeScript.
BTW, Python's typing has Union, Optional, Any ... and I don't know equivalent type options in Go. |
|