SICP Week Two: The Experience

As week 2 comes to a close, I feel compelled to write something about the difference between orthodox computer science pedagogy, as embodied by SICP, and the approaches taken by books of the variety of “Teach Yourself X in Ten Minutes.” I’m writing about technical topics in another post. This post is devoted mostly to […]

SICP: Week One

We’re just getting started on the MIT OpenCourseWare course Structure and Interpretation of Computer Programs. I got a lot of responses from interested people, which is exciting. So far we haven’t encountered much worth chatting about, but I’m thinking the material’s difficulty is going to increase quickly. In the meantime, I’ve jotted down a few […]

unittest.js: Writing unit tests for Javascript

A while back I posted a long investigation of Scriptaculous’s unit testing framework, which is in the unittest.js file distributed with Scriptaculous. I’ve gotten around to writing some actual tests, so if you’d like to read about how it works, check out my little article about implementing unittest.

Comments re-enabled

So, I haven’t been accepting comments on my posts for a while now. From a practical standpoint, it’s because I hate spam, and spam was all I was getting. In a more philosophical vein, I liked Dave Winer’s stance on comments, and Joel Spolsky’s gloss of Dave Winer’s stand — if you want to comment, […]

Seven for Scheme

Thanks to a plug from my study group from Lispy, I’ve gotten several emails from interested Schemers, and there are now seven of us. I’ve decided to “close admissions” now, since I don’t think a really big group would be advisable. I’ll be posting this fall about the course, so please follow along if you […]

Some surprising stuff JavaScript can do

As promised, here are some links to work real programmers are doing on JavaScript. First, from raganwald, the self-described passionate software developer with the mighty Viking name, a long examination of using block structures in JS. And from Eric Kidd, a guy who describes himself as “into compilers, robotics, and programming language design”, here’s a […]

Towards more bottom-up programming with JavaScript

In my latest dispatch on JavaScript, I describe some curious ways to decompose your program into functions that return functions. This technique seems to promise programs that are structured into more cohesive and smaller pieces, and the process of coding accordingly sure feels like working from the specific to the general. Plus I produce, among […]

SICP on MIT’s OCW anyone?

Update: I’ve signed up six people for the study group, and I’m capping the size of the group there. Hooray for acronyms. How else could I fit all that information into my post’s title. To unpack the question — is anyone interested in joining me in taking the MIT course 6.001 Structure and Interpretation of […]

Blackle: small steps, when multiplied, make a differencce

My next-door neighbor just told me about Blackle, a site that presents a Google custom search on a black background with gray text. The site’s owner, Heap Media, produced this in response to a blog post that claimed megawatts of energy could be saved worldwide if the millions of screens displaying Google’s main page every […]