Start learning node.js when your head is in Scala-land
I have been a server-side developer for many years (Java and lately Scala), and haven't done any web development since 2003. I really want to learn how to build pretty and functional websites, and I keep hearing about how awesome JavaScript really is now. It's hard to believe given that my last exposure to it was when JS developers lived in DOM purgatory. (Speaking of purgatory, remember GWT? Do people still use that?!?) I keep hearing about this node.js thing so I have decided to try it out.
Last night I started going through learnyounode on recommendation of a colleague. Learnyounode is best described as a 1980s throwback text-based adventure game in which you slay the mighty JS dragons by completing a series increasingly difficult challenges. I say increasingly difficult, because so far, none of the challenges have taken more than 10 or 15 minutes.
Since I've most recently been in Scala code, the notion of passing functions around and async callbacks in general was not terribly difficult to grasp, and performing functional operations over arrays was second nature. I still have 4 more challenges to complete. Next I'm going to try Stream Adventure.
Written by Julie Pitt
Related protips
1 Response
Darn... there goes my weekend. This looks fun!