2011-01

Reflection and meta-programming in JavaScript

[2011-01-05] pl fundamentals, dev, javascript, jslang
JavaScript is relatively weak when it comes to reflection and metaprogramming. Let us see what you can and cannot do. This post uses some of the standard methods of ECMAScript 5 (ES5).

Three JavaScript shells

[2011-01-04] dev, javascript, jslang
A JavaScript shell (interactive command line) is great for trying out stuff. This post shows three ways of getting such a shell.

Tip: get all Unix console programs to support arrow keys

[2011-01-04] emacs, dev, hack, unix, shell

97 Things Every Programmer Should Know

[2011-01-01] dev, textbook, software engineering

2010-12

An easy way to understand JavaScript’s prototypal inheritance

[2010-12-28] programming languages, pl fundamentals, dev, javascript, jslang
Update 2011-06-25:Prototypes as classes” is an improved version of this blog post.

This blog post explains JavaScript’s prototypal inheritance in a simple way. As it turns out, if we initially leave out constructors, then it is easy to understand. Thus, we first look at the fictional programming language ProtoScript which is JavaScript minus constructors, explain it, and then move on to constructors. As a result, you should have a solid understanding of prototypal inheritance and won’t be confused, any more, by all the JavaScript tricks out there.

Eight important books for software developers

[2010-12-27] dev, book, software engineering
Each of the following eight books has greatly influenced how I think about software development. Note that this list is not exhaustive, there are obviously other important books out there, many of whom I have not read (yet).

Crazy JavaScript hack: unzipping a file

[2010-12-23] dev, javascript, webdev, clientjs

What’s new in ECMAScript 5

[2010-12-23] dev, javascript, webdev, jslang
Updates:
ECMAScript is a language standard that is implemented as JavaScript in most web browsers (it’s called JScript in MS Internet Explorer). Here are two good links to get up to date on the latest version, ECMAScript 5:

The web as an application platform: latest developments

[2010-12-12] dev, cloud, webdev
The “browser as a platform” is coming along nicely. The following are a few recent developments.

Displaying math in HTML

[2010-12-11] dev, webdev, math