18 Oct
2011

Taking Baby Steps with Node.js – BDD Style Unit Tests with Jasmine and CoffeeScript

< The list of previous installments can be found here. > In a previous blog post, I already wrote about BDD style unit tests for testing Node.js modules using Jasmine. I really like the conciseness, simplicity and readability of specification style unit tests using Jasmine. But when we pour CoffeeScript into the mix, then the […]

Read More
9 Aug
2011

Exploring CoffeeScript Part 6 – Show Me the Goodies !

Category:UncategorizedTag: :

For the final blog post in this series, we?re going to go over a couple of cool little nuggets that one can use to write some elegant CoffeeScript code. Also check out the previous installments: And Then There Was Coffee Variables and Functions More on Functions Objects and Classes Ranges, Loops and Comprehensions Destructuring Assignments […]

Read More
5 Aug
2011

Moving from E-TextEditor to Sublime Text 2

I?ve been using E-TextEditor for more than a year now for doing all my JavaScript, Node.js and CoffeeScript development. You can think of E-TextEditor as TextMate for the Windows platform. I?ve been pretty happy with it throughout this period as it can be extended pretty easily with a whole slew of bundles that are already […]

Read More
2 Aug
2011

Exploring CoffeeScript Part 5 – Ranges, Loops and Comprehensions

For this blog post, we?re going to discuss ranges, loops and comprehensions in CoffeeScript. Also check out the previous installments: And Then There Was Coffee Variables and Functions More on Functions Objects and Classes Ranges Again a feature that is heavily inspired by Ruby. Using a range we can define an array of consecutive numbers […]

Read More
26 Jul
2011

Exploring CoffeeScript Part 4 – Objects and Classes

For this blog post, we?re going to continue our journey through the wonderful world of CoffeeScript, exploring objects and classes. Also make sure to check out the previous installments: And Then There Was Coffee Variables and Functions More on Functions Objects Most of us have know how the object literal notation looks like using plain […]

Read More
13 Jul
2011

Exploring CoffeeScript Part 3 – More on Functions

For this blog post we?re going to continue where we previously left off, talking a bit more about functions in CoffeeScript. Let?s get things started by talking a bit about function scope. Function scope Like Ruby, CoffeeScript uses lexical scope. This means that a variable that is declared inside a function is invisible to outside […]

Read More
30 Jun
2011

Exploring CoffeeScript Part 2 – Variables and Functions

As I mentioned in the previous blog post, CoffeeScript is a neat little language that compiles down to JavaScript code. Its syntax is heavily inspired by Ruby and next to bringing a lot of nice language features to the table, it also requires less amount of code than writing the equivalent directly in JavaScript. For […]

Read More
21 Jun
2011

Exploring CoffeeScript Part 1 – And Then There Was Coffee

Those of you who have been reading this blog lately know that I?m quite enthusiastic when it comes to JavaScript. As the common behavioral language of the web, JavaScript has been making its way into other aspects of application programming over the last couple of years, notably with server-side frameworks like Node.js and NoSQL databases […]

Read More