Making Your JavaScript More Functional

Functional Programming in JavaScript is all the rage right now, with new libraries, languages, and transpilers popping up everywhere. You might be thinking, “How do I make this radical paradigm shift?” The answer is, you don’t have to. Not right away anyhow (or ever), and not completely. A Functional JavaScript programming style can have it’s … 


AngularJS RESTful Service Constructor

In my current role, I’m in a situation with numerous developers working on a single, large AngularJS project, with new API’s popping up every day, I want each developer to be able to crank out a new service to consume all the new API’s with little thought or effort. I decided to write a small, extensible RESTful constructor that does just that.


Passing arguments to a JavaScript callback function

In JavaScript, callback functions are used to perform an action or operation after another operation has occurred. The mechanics of a callback rely on the fact that everything in JavaScript is a first class object. This fact allows you to pass functions as arguments to another function. The latter function can then invoke that function at a predetermined point in the program.


A Look at JavaScript and Declaration Hoisting

Just last week I did a long form talk on JavaScript functions at the Google Developers Group in Kitchener. As I was writing the examples I wanted to use, it occurred to me that there is a lot I could dive into — more than I could cover in the hour and a half I spent talking on the subject that night. So I thought it’d be a good idea to start blogging about JavaScript so I would, at the very least, have a backlog of short form talks for future presentations.