Re:Static types in Python
by int_19h on Friday October 14, 2016 @03:03PM
(#12710343)
It's really strange to compare Python to C++, Go, and Rust, given that all the latter are statically typed languages with some amount of type inference, while Python is dynamically typed. A more appropriate comparison would be to something like JavaScript, where TypeScript and Flow both implement the same exact approach - optional type annotations that are checked at compile time and not enforced at runtime. Experience in the JS ecosystem has shown that it is a very successful approach.
[ Parent
| on HN ]
There are no comments on this comment yet.