The next cool thing I found on the same site can be seen here:
Basically, the author identifies a “code-smell” and applies a pattern to aid maintainability. The cool thing here is the link to “view, run, & edit code” for each example:
…which integrates with an site, http://jsfiddle.net, allowing the sample to be modified and run within the browser:
Very cool stuff indeed.