TypeScript is the new Javascript
13 July 2016

TypeScript is the new Javascript

At Webfuel we do a lot of work in the browser. A lot! Every browser worthy of the name runs a programming language called Javascript.

Javascript is by some measures the most popular programming language in the world. There are more lines of Javascript being executed every day than all other programming languages put together. This is mainly because when a programmer writes a line of Javascript on a website one day it can be executed in millions (or even billions) of web browsers the next.

But despite all the success of Javascript, it has a big flaw. It's a bad programming language. Not just a little bit bad, but really really awful. The reasons for just how increadibly awful are quite technical. But suffice to say it is in no way suited to writing the kind of modern, complex and rich web applications we see online today.

Fortunatley over the past few years a new language has come to the rescue. A language developed by Microsoft and since adopts almost universally by developers and other large web companies (Google included). This language is called TypeScript. TypeScript takes all the good bits from Javascript, throws away all the bad bits, and adds a lot of extra richness. It turns a really bad language into a modern and fit for purpose one that can be used to build the complex web applications with million of lines of code that we see today.

Without TypeScript writing million line complex browser based web applications would be a huge risk, and the chance for bugs would be enourmous. With TypeScript we get the same sort of compliation and type checking that we as programmers are used to with server side application, on any application, even in the browser.

It's hard to overstate how transformative the TypeScript revolution will be to the web world. Over time almost all complex client side applications should be converted to TypeScript. The benefits are just too significant to ignore. If you have Javascript code bases that are large, complex, and out of control, you should strongly consider jumping into TypeScript.

WHATEVER YOU NEED WE CAN HELP
© 2017 Webfuel Limited. All Rights Reserved.

Free SEO
Audit