Coffeescript vs Typescript

With the arrival of Typescript 2.1, it seems like a good time for a comparison between coffee-script and typescript. JavaScript is a powerful language, no question. One of the main issues however is code readability and that leads to difficult maintenance in the future. On teams this becomes and even larger issue as newer team […]

TypeScript 2.1 Announced today

Most of you probably already know that TypeScript is a language that brings you the new features of JavaScript with optional static types. This gives you an awesome experience that can’t be beat, with stronger checks against typos and bugs in your code. Microsoft has really built something great with typescript, and we welcome version […]

Why learn Coffeescript?

For some of us who’ve been programming JavaScript since it’s early days in the 1990’s, it’s hard to understand why we should learn yet another programming language, and one which converts into JavaScript which we already know. The idea with CoffeeScript they say is an attempt to expose the good parts of JavaScript in a […]

Chai Assertion Library

Just what is the Chai Assertion Library? From their website: Chai is a BDD / TDD assertion library for node and the browser that can be delightfully paired with any javascript testing framework. Once you see the examples you start to get the idea: Should chai.should(); foo.should.be.a(‘string’); foo.should.equal(‘bar’); foo.should.have.length(3); tea.should.have.property(‘flavors’)   .with.length(3); Any programmer who […]

Just what is a JS linter?

To put it simply, linting tools helps us avoid silly mistakes when writing JavaScript! There are many available. JSLint is the oldest, and is still quite good. It doesn’t have a configuration file, which can make customization difficult, but it works pretty well out of the box. JSHint was developed to be a more customizable […]