Skip to content
TopicTracker
From HackerNewsView original
TranslationTranslation

The History of TypeScript

This repository traces the full history of TypeScript, from its early development at Microsoft to its evolution into a widely adopted typed superset of JavaScript. It covers key milestones, design decisions, and the language's impact on modern web development.

Background

- **TypeScript** is a programming language created by Microsoft that adds static type-checking to JavaScript — meaning it catches errors (like passing a number where a string is expected) before code runs. It has become the dominant language for large-scale web development. - **Microsoft** developed TypeScript to address JavaScript's lack of structure for big projects; it first appeared in 2012 and is now maintained by the company alongside the open-source community. - **Anders Hejlsberg**, Microsoft's lead architect, is TypeScript's creator. He is a legendary figure in programming language design, having also created Turbo Pascal, Delphi, and led the design of C#. - This piece covers TypeScript's evolution from an internal Microsoft project to an industry standard, including key decisions (e.g., staying a superset of JavaScript rather than a new language) and how it won over skeptics who initially saw it as Microsoft trying to control the web.

Related stories

  • The author reflects on their childhood computing experiences in the 1980s, including using IBM PC compatibles with floppy disks to run MS-DOS and LOGO at school, writing programs on paper due to limited computer time, and playing early games like Moon Bugs, Space Invaders, and Digger. These formative experiences, filled with wonder and exploration, remain vivid memories decades later.