Common VIM Commands

02 Jan 2016 | | vi, vim, common commands

TL;DR Run vimtutor and be enlightened!

Continue Reading →

How to say a REST-ful NO?

11 Nov 2015 | | REST, API, http, status, 404, resource not found

We had an interesting discussion at work yesterday: for a REST api, what HTTP status code to return when a resource does not exist - a 200 OK with an empty result, a 204 NO CONTENT or a 404 NOT FOUND ?

Continue Reading →

Lambdas vs Closures

28 May 2015 | | functional programming

Differences between Lambdas and Closures

A Lambda Expression is merely an anonymous function - a language construct. Giving a lambda a name makes it a named function.

Continue Reading →

1 2 3 4