2013-01

Categorizing values in JavaScript

[2013-01-20] dev, javascript, advancedjs, jslang
This post examines four ways in which values can be categorized in JavaScript: via the hidden property [[Class]], via the typeof operator, via the instanceof operator and via the function Array.isArray(). We’ll also look at the prototype objects of built-in constructors, which produce unexpected categorization results.

Responsive web design versus adaptive web design

[2013-01-16] dev, web design, webdev
This blog post looks at the difference between responsive web design and adaptive web design. Before we can get started, we need to define another concept: progressive enhancement.

Graph search: Facebook as a database

[2013-01-15] semantic web, social, computers, facebook
Today, Facebook introduced a new feature called “graph search”. This blog post explains what it is. It is based on the Verge’s liveblog of the event.

ECMAScript.next: TC39’s November 2012 meeting

[2013-01-13] esnext, tc39, dev, javascript
From November 27-29, 2012, the Ecma Technical Committee 39 (TC39, [1]) had another meeting, where decisions were made about ECMAScript.next (the code name for ECMAScript 6 [1]). This blog post summarizes and explains the highlights. It is based on Rick Waldrons excellent notes that he put up on GitHub. There is also a list of all 2ality posts on TC39 meetings.

What temperature has the same degrees in Celsius and Fahrenheit?

[2013-01-11] life, scitech

ECMAScript.next: array comprehensions and generator comprehensions

[2013-01-09] esnext, dev, javascript
Update 2014-08-04: Comprehensions won’t be in ECMAScript 6. There’s a chance that an updated version of them will be in ECMAScript 7 or later.

ECMAScript.next will have two kinds of comprehensions: array comprehensions and generator comprehensions. They allow one to quickly assemble an array or a sequence of elements. Comprehensions exist in many programming languages, for example: CoffeeScript, Python, Haskell, Clojure.

Brace styles and JavaScript

[2013-01-07] dev, javascript, jslang, jsstyle
In languages whose syntax is derived from C (e.g.: C ← C++ ← Java ← JavaScript), two brace styles are most common: Allman style and 1TBS.

JavaScript terminology: the two prototypes

[2013-01-03] dev, javascript, jslang
In JavaScript, there is an unfortunate overloading of the term “prototype”.

2012-12

Looking back on 2012

[2012-12-30] 2ality
2012 has been a very productive JavaScript year for me:

The problem with blogs

[2012-12-28] publishing, computers
I’m a big fan of blogs. After all, I’m writing one, myself. They are the contemporary version of a specialized newspaper. Regularly having new content is exciting and reading blogs is well supported by various apps, thanks to standardized publication formats such as RSS and Atom.