Why I hate implicit return in CoffeeScript

Posted on Fri 26 October 2012 in Coding • Tagged with coffeescript, javascript

CoffeeScript is “a little language that compiles into JavaScript.” If you haven’t seen or tried it, go check it out! I’ve been using it in a project for a while now, and its obvious advantage over pure JavaScript is that it is very concise and has high expressive ...


Continue reading

One assertion per test, please

Posted on Wed 25 July 2012 in Coding • Tagged with assertion, qunit, testrules, javascript

When it comes to unit or integration tests, there are of course good ones and bad ones. There are few things more treacherous than a test suite filled with low-quality tests that don’t test what they’re supposed to, if anything at all. When the test suite goes green ...


Continue reading