Saturday, April 23, 2011

Map Reduce in JS

Joel Spolsky's piece "Can Your Programming Language Do This?" was an enjoyable read for three reasons: 1) he provides some clear, simple examples of map/reduce and anonymous functions, 2) he shows how these are natively supported in JavaScript (actually there is even more and better support for Map/Reduce in JavaScript than he describes) and 3) he hints (link to related article) at why Java is a mediocre language that produces mediocre software. Originally posted in 2006 it generated a big buzz on HN this morning and is more timely now than ever, considering the groundswell of support and innovation around JavaScript in the upcoming generation of web-scale programmers.

Those who follow the bleeding edge of software development today know that in the last two years there has been a Cambrian explosion of innovation and creativity related to JavaScript as a serious, server-side programming language.  It may not be a stretch to say that a majority of the software people interact with today is powered by JavaScript, considering the ubiquity of web-based applications. With the increasing prevalence of JSON as a data interchange format, the advent of high-performance server-side JavaScript engines, and non-relational data-stores that speak JSON natively, there is now, for the first time, a homogeneous software ecosystem that spans the N-tier distributed architecture. It seems this post from 2006 was prescient in it's discussion of the language's capabilities and potential.

A good post that hits three of my favorite birds with one stone, and an excellent cup of Francesco's dark roast on a rainy Saturday morning while listening to the Isbells.

1 comment:

Anonymous said...

Productivity and Note-taking

I told a friend of mine that I wasn't really happy with the amount of time that gets taken up by Slack and "communication and sched...