Free email newsletter: “ES.next News

2013-07-30

A meta style guide for JavaScript

JavaScript has many great style guides. Thus, there is no need to write yet another one. Instead, this blog post describes commonly accepted meta style rules and conventions that I like that are controversial. The idea is to help you make a more informed decision about what is right for you.

2013-07-27

ECMAScript 6 modules: the future is now

Update 2014-09-07: Newer version of this blog post: “ECMAScript 6 modules: the final syntax”. Read it instead of this one.

This blog post first explains how modules work in ECMAScript 6, the next version of JavaScript. It then describes tools that allow you to already use them now.

2013-07-22

In defense of JavaScript’s constructors

JavaScript’s constructors have never been particularly popular: Douglas Crockford doesn’t like them and recently, more anti-constructor material has been published (two examples: blog posts by Kyle Simpson and Eric Elliott).

In this blog post, I explain that not all of the constructors’ flaws are real. But even with those that are real, I still recommend to use them. I’ll tell you why and what the future holds for constructors.

2013-07-16

Hello Polymer: Q&A with Google’s Polymer team

Today, there was an online event called “Hello Polymer”, in which Polymer team members Eric Bidelman, Alex Komoroske and Matthew McNulty talked about the framework. This blog post summarizes what happened.

2013-07-14

Trailing commas in object literals and array literals

Quick reminder: trailing commas in object literals are legal in ECMAScript 5, trailing commas in arrays are ignored.

2013-07-10

Performance optimizations and for loops

This blog post looks at two common performance optimizations for for loops. Are they really faster than the canonical version?

2013-07-07

Array iteration and holes in JavaScript

The blog post describes how various functions and methods that deal with arrays are affected by holes [1].

2013-07-02

Feeds (RSS, Atom) in the time of social media

These days, social media (Twitter, Facebook, Google+ etc.) seem much more popular than feeds (RSS, Atom). Google claims about the latter that their “usage has declined”. That begs the question: have social media made feeds irrelevant? This blog post answers that question with a firm “no” and explains why.