Re:A lot of complex “scalable” systems can be done with a si...
by j88439h84 on Sunday December 29, 2019 @11:34PM
(#21910838)
Type hints and dataclasses are a game-changer for Python. Much easier to reason about programs that use them.
[ Parent
| on HN ]
Re:A lot of complex “scalable” systems can be done with a si...
by adev_ on Monday December 30, 2019 @03:35AM
(#21911747)
> Type hints and dataclasses are a game-changer for Python. Much easier to reason about programs that use them.
Type hints made large python codebase switch from "Any change will blow up to my face" to "I can touch it carefully with protection gloves".
Through, it is still pretty easy to fool mypy and very far of the compile time guarantees that provide most static typed AOT compiled language.
And unfortunately, it also does not bring any advantage in term of performance.
Re:A lot of complex “scalable” systems can be done with a si...
by insulanian on Monday December 30, 2019 @03:48AM
(#21911816)
> Type hints...
At that point it makes more sense to use a statically typed language.