3 ms·
For your first point, I don't think a language such as JavaScript -is- much better, which is why Typescript was invented as an alternative for larger codebases/
by azeirah 5y ago
For your first point, I don't think a language such as JavaScript -is- much better, which is why Typescript was invented as an alternative for larger codebases/organizations
- igouy 5y agoAlso Dart.
- dragonwriter 5y agoTypeScript:JS is a lot like mypy:Python; the only real difference is that Python adapted so that mypy (originally envisioned as its own language) code is also valid Python as well as the reverse, obviating the need for a compilation step to run mypy in the Python runtime (whereas TS has to compile to JS to run); also, mypy has mypyc to compile (currently, only a subset of) mypy code to something more efficient than normal python.
- whimsicalism 5y agoHaving worked extensively with both, I don't think this is an apt comparison. Type inference & hinting at the IDE level is just not as developed either
- takeda 5y agoWhich language did you mean? Also in any case wouldn't that be IDE issue. I used Python and I noticed over the years that things like type interference drastically improved. Similarly type checker in Rust extension for IntelliJ was lacking even though Rust has superior type system.