Tag Archives: JavaScript

Dec 04
2014

Understanding the Y combinator (in JavaScript)

Recursion and anonymous functions are widely used in modern programming languages. But how does one write an function with no name that calls itself? The Y combinator is the answer to that question. About a year and a half ago, … Continue reading

Posted in Uncategorized | Tagged , , , | 1 Comment
Mar 15
2013

Adding a JS build-system to Sublime

Frustratingly, the Sublime Text editor doesn’t set up a build system for JavaScript the way it does for Ruby and some other languages. Fortunately, it’s an easy problem to fix. Assuming your JS interpreter is Node.js, these are the steps … Continue reading

Posted in Uncategorized | Tagged , | 15 Comments
Feb 22
2013

Hack Reactor Diaries #2

This is an archive of some of my thoughts after completing the first two weeks of Hack Reactor. When I filmed it, I wasn’t sure if I’d ever share it or not, but I’ve decided to go the open route. … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment
Feb 22
2013

Hack Reactor Diaries #1

This is an archive of some of my thoughts after completing the first two weeks of Hack Reactor. When I filmed it, I wasn’t sure if I’d ever share it or not, but I’ve decided to go the open route. … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment
Jan 20
2013

JavaScript functions as strings as functions

In my second day at Catalyst, we did some programming koans, and I learned something really interesting– JavaScript, every function has a toString() and the Function constructor can create functions from strings. Exploring the relationship between functions and strings Let’s … Continue reading

Posted in Uncategorized | Tagged , , | 2 Comments
May 18
2012

The easiest way to get started with node.js on windows

Here’s what was super quick for me on windows 7. Download the auto installer at nodejs.org and install the .msi on your windows computer. Go to the start menu and search “cmd”. It should find a “cmd.exe”. Right-click that and … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment