TypeScript turns 10 years old

Date:

Share post:


After initially being greeted with skepticism, Microsoft’s TypeScript programming language, which brought static types to JavaScript development, has withstood the test of time, a Microsoft official wrote this past weekend.

TypeScript’s 10th birthday occurred on Saturday, October 1, said Daniel Rosenwasser, Microsoft senior program manager for TypeScript, in the blog post. “To some JavaScript users, a team trying to bring static types to JavaScript might have sounded like an evil plot or a joke,” he said. But TypeScript enabled powerful tools like type checking and rich editor features such as code completion for JavaScript.

Microsoft knew that JavaScript was going to be used everywhere, and developers would want tools to help them write it. “For the team, there was a vision for what TypeScript could be, and in fact, if you look back at our first announcement post, the value proposition was largely the same as it is today!”

Citing the requirements for the fledgling project, Rosenwasser said TypeScript had to be free, open source, and interoperate and evolve with existing JavaScript. It also had to feel like JavaScript. Among the design goals:

  • Imposing no runtime overhead on emitted programs.
  • Aligning with current and future ECMAScript proposals.
  • Preserving the runtime behavior of JavaScript code.
  • Avoiding the additin of expression-level syntax.

TypeScript’s creators focused chiefly on the type system and avoided adding new runtime syntax and behaviors. Today, TypeScript is used by millions of developers, and its popularity is increasing. The language has scored prominently in surveys and language rankings, such as the Pypl Popularity of Programming Language index, CircleCI’s 2022 State of Software Delivery report, and GitHub’s Octoverse report.

TypeScript is leveraged in prominent applications such as the Angular web development framework and the Deno runtime. The current version is TypeScript 4.8. TypeScript 4.9 is in a beta release stage.

Copyright © 2022 IDG Communications, Inc.



Source link

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Related articles

3 High-Yield Dividend Stocks to Earn a Truckload of Passive Income in 2023

One of the best ways to build wealth at an accelerated pace is by creating multiple...

Investors gear up for COP15

Return to search ...

How HashiCorp is driving cloud provisioning and management

Known for its Terraform software used by DevOps teams to deploy cloud resources using infrastructure as code,...