Tag Archives: Eloquent Javascript

Eloquent Javascript ch.5 – Flattening


In which we are back in the saddle and have a success. After a “wait and reapply later” answer from Hack Reactor, I was discouraged and focused solely on a job hunt for three weeks. That effort continues, but I’m also coding again in preparation to reapply this summer. It feels good. At first I […]

https://gmcodeblog.wordpress.com/2015/07/23/eloquent-javascript-ch-5-flattening/

Eloquent Javascript ch. 5 – Mother-child Age Difference


In which I defeat a source of irritation. I’ve sat down to defeat this problem on at least 5 different occasions–maybe 10. Each time I was about halfway into it and got interrupted. I restarted each time, partly because I wasn’t sure of the validity of my earlier approach. Combine that with the fact that […]

https://gmcodeblog.wordpress.com/2015/07/26/eloquent-javascript-ch-5-mother-child-age-difference/

Eloquent Javascript ch.5 – Every And Then Some


It’s a good feeling to solve this (simple though it is) without taking a ton of time and in a way that seems fairly simple. No doubt EJ has a more elegant solution, but this is better than I have been doing. And it utilizes forEach! function every (arr, f) { var counter = 0; […]

https://gmcodeblog.wordpress.com/2015/07/29/eloquent-javascript-ch-5-every-and-then-some/

Eloquent Javascript ch.6 – A Vector Type


The example program that this chapter is built around (the table-building program) is pretty difficult to follow. I got to a point where about 80% of it made sense, but decided to just keep moving. I’m glad I did, because I got the first practice problem right! function Vector(x,y){ this.x = x; this.y = y; […]

https://gmcodeblog.wordpress.com/2015/07/30/eloquent-javascript-ch-6-a-vector-type/

Eloquent Javascript ch.6 – Another Cell


The example problem in ch. 5 is so hard and described so minimally (eloquently, in the author’s mind, I’m sure) that I sought out commentary on the book. I hoped some blogger had described the components of the chapter with more detail than our friend Marvin Haverbeke. Forunately I found Gordon Zhu, over at WatchAndCode.com, […]

https://gmcodeblog.wordpress.com/2015/07/30/eloquent-javascript-ch-6-another-cell/