3 ms·
They have won in theory: they are arguably better in every way than dynamically typed languages (DTL) in the sense that they offer all the advantages that used
by incepted 11y ago
They have won in theory: they are arguably better in every way than dynamically typed languages (DTL) in the sense that they offer all the advantages that used to be unique to DTL and, obviously, also all the advantages of STL (automatic refactorings, performance, ease of maintenance, etc...).
Javascript is the last serious holdover of the DTL generation but even it is showing tendencies to be replaced by STL (Typescript, Dart). It will take a while, though, but the trend is clear.
- martythemaniak 11y agoI think what we've seen over the last decade or so is that STLs have been updated with a lot of the features people loved about DTLs, while DTLs have not been able to add the features people love about STLs. Ultimately, I guess it was easier to add lambdas to Java than to add solid IDE support to javascript.
- idibidiart 11y agoReplaced? I can't see that happening in the next 5 years (an eternity in this business) Supplemented with tools like Flow? That's already a huge thing, and it's part of the React and React Native tool belt.
- iheartmemcache 11y agoThe whole reason Flow was invented was because Javascript was un-managable at scale without types. The whole "both" (i.e. gradual typing a la Typed Racket/Clojure/TypeScript) is probably solution. Interestingly the author has an article on that too which is a fairly good read[1]. [1] http://pointersgonewild.com/2012/11/09/static-vs-dynamic-why-not-both/ http://pointersgonewild.com/2012/11/09/static-vs-dynamic-why...