Chapter lessons from Marijn Haverbeke's excellent book, Eloquent Javascript.