Categories
JavaScript Language Features TypeScript

TypeScript is Winning, Slowly

TypeScript has been around since 2012, but 2016 feels like its inflection point. Angular 2's TypeScript requirement, VS Code's excellent TypeScript support, and large companies adopting it signal shifting momentum. But JavaScript developers remain divided on whether static types are improvement or burden.

TypeScript is winning—just not unanimously.

What Changed in 2016

Categories
Async Programming JavaScript Language Features

async/await: The Async Revolution Coming to JavaScript

async/await reached Stage 4 this month, meaning it's officially part of the next ECMAScript version (ES2017). After years of callbacks and promise chains, JavaScript finally gets syntax for asynchronous code that reads like synchronous code.

This isn't hyperbole—async/await is the most significant JavaScript language feature since Promises.

The Problem async/await Solves

Categories
JavaScript Language Features Web Development

ES6 Preview: Which Features Are Worth Learning Now?

The next version of JavaScript—ES6, or ECMAScript 2015 as it'll officially be called—is taking shape. Finalization is expected next year, but transpilers like Traceur let us use features today. The question is: which features are stable enough to bet on, and which might change?

The Transpiler Bet