2015-02

Iterables and iterators in ECMAScript 6

[2015-02-26] esnext, dev, javascript, iteration

ECMAScript 6 introduces a new interface for iteration, Iterable. This blog post explains how it works, which language constructs consume data via it (e.g., the new for-of loop) and which sources provide data via it (e.g., arrays).

A 90 minute overview of ECMAScript 6 (video)

[2015-02-17] esnext, dev, javascript

Vote for your favorite “Exploring ES6” cover!

[2015-02-16] esnext, dev, javascript, exploring es6

Classes in ECMAScript 6 (final semantics)

[2015-02-15] esnext, dev, javascript

Recently, TC39 decided on the final semantics of classes in ECMAScript 6 [^2]. This blog post explains how their final incarnation works. The most significant recent changes were related to how subclassing is handled.

First details of my upcoming book on ES6

[2015-02-10] esnext, dev, javascript

Variables and scoping in ECMAScript 6

[2015-02-07] esnext, dev, javascript

This blog post examines how variables and scoping are handled in ECMAScript 6 [^1].

Google SoundScript: faster OOP for JavaScript

[2015-02-04] esnext, dev, javascript, typedjs

Update 2015-02-05: More information – “Experimental New Directions for JavaScript” by Andreas Rossberg (slides in English).

Google is currently working on SoundScript, a way to speed up object-oriented programming in JavaScript. The content of this blog post is completely based on a recent talk [^1] by Dmitry Lomov. That is, everything I have written here is inferred from those slides and may or may not be correct.

Note: This blog post describes first ideas, avenues that Google is exploring for making JavaScript OOP faster. The final version of SoundScript may look and work completely different.

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