2015-02

Try out Facebook’s Flow typechecker online

[2015-02-03] esnext, dev, javascript, typedjs, facebook flow, typescript

You can now try out Flow [^1], Facebook’s typechecker for JavaScript, online, at tryflow.org.

2015-01

New string features in ECMAScript 6

[2015-01-29] esnext, dev, javascript

The blog post covers new features of strings in ECMAScript 6 (ES6).

New frontend framework “Aurelia”: Web Components, 6to5, jspm, MVVM

[2015-01-27] esnext, dev, javascript, webcomponents, clientjs

Aurelia is a new framework by Durandal creator Rob Eisenberg (which helps credibility-wise).

It uses an interesting combination of technologies/techniques:

  • Web Components: as an infrastructure for widgets (polyfilled where necessary)
  • 6to5: to compile ECMAScript 6 to ECMAScript 5
  • jspm: for package management
  • MVVM (as used by Knockout and the Knockout-inspired Durandal): as a UI pattern

Destructuring and parameter handling in ECMAScript 6

[2015-01-24] esnext, dev, javascript

ECMAScript 6 (ES6) supports destructuring, a convenient way to extract values from data stored in (possibly nested) objects and arrays. This blog post describes how it works and gives examples of its usefulness. Additionally, parameter handling receives a significant upgrade in ES6: it becomes similar to and supports destructuring, which is why it is explained here, too.

HTML templating with ES6 template strings

[2015-01-15] esnext, dev, template literals, javascript

Despite their name, template strings in ECMAScript 6 (ES6) are more like a different kind of function call than a mechanism for defining templates. This blog post explains how you can still use them for HTML templating. It is based on an idea by Claus Reinke.

ECMAScript 6 sets: union, intersection, difference

[2015-01-14] esnext, dev, javascript

A recent question by Dmitry Moskowski reminded me: ECMAScript 6 sets have no methods for computing the union (e.g. addAll), intersection (e.g. retainAll) or difference (e.g. removeAll). This blog post explains how to work around that limitation.

ECMAScript 6: maps and sets

[2015-01-05] esnext, dev, javascript

Among others, the following four data structures are new in ECMAScript 6: Map, WeakMap, Set and WeakSet. This blog post explains how they work.

2014-12

Symbols in ECMAScript 6

[2014-12-28] esnext, dev, javascript
  • TODO: Mention early what their main purpose is, what they are good for.

Symbols are a new primitive type in ECMAScript 6 [^1]. This blog post explains how they work.

ECMAScript 6: new OOP features besides classes

[2014-12-21] esnext, dev, javascript

Classes [^2] are the major new OOP feature in ECMAScript 6 [^1]. However, it also includes new features for object literals and new utility methods in Object. This blog post describes them.

One JavaScript: avoiding versioning in ECMAScript 6

[2014-12-18] esnext, dev, javascript

What is the best way to add new features to a language? This blog post describes the approach taken by ECMAScript 6 [^3], the next version of JavaScript. It is called One JavaScript, because it avoids versioning.