All technologies
TypeScript
JavaScript with types.
How it started
Developed at Microsoft, led by Anders Hejlsberg, and announced in 2012. Version 1.0 followed in 2014.
What it is
TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.
Advantages
- Catches many errors before the code runs
- Better autocomplete and safer refactoring
- Scales well to large codebases
Disadvantages
- Adds a build step and configuration
- Advanced types have a learning curve
- Types disappear at runtime, so external data still needs validation
Best used for
Larger front-end or Node.js projects and shared codebases.