3 ms·
I'm not sure I buy that argument about dynamic languages. You are probably right in that auto complete played a role, but for me working on a pure node js app b
by pipes 3y ago
I'm not sure I buy that argument about dynamic languages. You are probably right in that auto complete played a role, but for me working on a pure node js app back in 2014ish, it was a nightmare of runtime issues that type checking would have eliminated. The productivity gain in a typed language was not having to write unit tests for things that static typing does for free.
- mjr00 3y agoI agree with you, autocomplete definitely isn't the only reason for static typing making a comeback and dynamic language popularity dying off (and the big legacy names like Javascript and Python have Typescript and mypy/pyright to transform them into a facsimile of one). I think a lot of it has to do with maturity, where a lot of "move fast and break things" devs who loved untyped Node/PHP/Python got burned by bugs and impossible to comprehend legacy codebases and slowly realized the value of static typing. But that type of understanding takes years. A novice programmer can see the value of autocomplete and not having to check the docs or stackoverflow for the name of a method pretty much instantly.