Get the latest tech news

Just Say No to JavaScript


JavaScript gives you too many ways to shoot yourself in the foot. Just what you’d expect from a programming language that was created in a week.

And given that the browser is the real operating system these days, JavaScript should — and eventually will — go the way of assembly in the minds of developers. Designed by the great Anders Hejlsberg, TypeScript has all of the benefits of JavaScript (such as they are) while adding a type system that is expressive and powerful. I love unit testing and test-driven development, and I think we all ought to be writing our code that way, so this argument is compelling.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of javascript

javascript

Related news:

News photo

Don't Block the Event Loop (Or the Worker Pool) in JavaScript

News photo

My son (9 yrs old) used plain JavaScript to make a game, and wants your feedback

News photo

EstyJS 2.0 (emulator for the Atari ST, written in 100% pure JavaScript)