2 ms·
I don't get the push to add static typing to dynamic languages. If you don't want to use a dynamic language, then use one of the statically typed ones, like Jav
by goatlover 7y ago
I don't get the push to add static typing to dynamic languages. If you don't want to use a dynamic language, then use one of the statically typed ones, like Java, Typescript or Go. If it's a case of dynamic languages not scaling well beyond a certain point because of the lack of static typing, then right tool for the job should apply. Don't scale a dynamic language to that size.
- _hardwaregeek 7y agoIt's mostly from companies with existing codebases built using dynamic languages. Plus everybody's standards for tooling are going up and one of the best ways to improve tooling is through types.
- goatlover 7y agoIt's the same argument for continuing to manage Excel applications as they scale up to complicated messes.
- eitland 7y agoTry Typescript and see. Pushing for static typing in dynamic languages means you can have the best of both worlds. Example: Any valid js file can also be a valid ts file, but now you can also introduce types, vastly reducing mental load since you always have a polite unpaid pair programmer (the type checker + language server) to help you.