Re:A Failed Experiment with Python Type Annotations
by ggregoire on Tuesday June 11, 2019 @06:18PM
(#20160011)
"job" doesn't refer to static typing but the project you are working on.
- script of 2,000 LOC to clean data => dynamic typing is fine => Python
- web service of 1,000,000 LOC => static typing seems a better choice => Rust, Go, Kotlin, Scala, Swift, C#, Java…
Re:A Failed Experiment with Python Type Annotations
by cwyers on Tuesday June 11, 2019 @08:18PM
(#20160709)
A lot of people don't set out to write a million LOC web service, they build a smaller web service and it grows.
Re:A Failed Experiment with Python Type Annotations
by JeremyBanks on Tuesday June 11, 2019 @08:55PM
(#20160857)
Quite. My company is using Go for most new projects, but we have five years of Python code that we can't justify rewriting any time soon. We've been able to add annotations incrementally instead.
The thing is, static typing is never the job by itself.