Javascriptkata - javascriptkata.com
General Information:
Latest News:
Stop Javascript, use Coffeescript 23 May 2012 | 02:49 am
I write this blog since 2007, my first post (which I’m not too proud of after 5 years) was written on March 19, 2007. In those 5 years, a lot happened. Personally, I have burst periods when I write po...
Stop Javascript, use Coffeescript 22 May 2012 | 10:49 pm
I write this blog since 2007, my first post (which I’m not too proud of after 5 years) was written on March 19, 2007. In those 5 years, a lot happened. Personally, I have burst periods when I write po...
How to write javascript code to fit in lines of 80 chars 1 May 2012 | 02:03 am
I recently read Code Conventions for the JavaScript Programming Language from Douglas Crockford, the guy that discovered JSON. I was really surprised to see such an old convention as Avoid lines longe...
How to write javascript code to fit in lines of 80 chars 30 Apr 2012 | 10:03 pm
Nobody likes to scroll horizontally, even programmers
How to make sure undefined is not defined 14 Sep 2011 | 01:59 am
Think about it, you write a plugin or a library (let’s name it jsKata) and your code contains checks to see if certain things are undefined. Here’s an example : if (obj.name === undefined) { obj......
Creating namespaces with self-invoking functions 6 Sep 2011 | 02:40 am
When a project’s javascript grows, it can be easy to lose ourselves, buried under thousands of lines of js code. That’s why I like to create namespaces to keep everything together. Let’s say I have f...
Creating namespaces with self-invoking functions 5 Sep 2011 | 10:40 pm
When a project’s javascript grows, it can be easy to lose ourselves, buried under thousands of lines of js code. That’s why I like to create namespaces to keep everything together. Let’s say I have fu...
Self-invoking functions explained line by line 23 Aug 2011 | 02:16 pm
I never knew it was possible to love a syntax but since, I fell in love with the self-invoking function which can be summarized like this : (function(){})(). Yes this is a valid syntax though it doesn...
Self-invoking functions explained line by line 23 Aug 2011 | 10:16 am
I never knew it was possible to love a syntax but since, I fell in love with the self-invoking function which can be summarized like this : (function(){})(). Yes this is a valid syntax though it doesn...
Ready.js – continuous integration using jslint, nodejs and git 29 Oct 2010 | 08:33 am
Ready.js is a tool to prepare your javascript files for production. It can be used in every type of web project (Rails, Django, node, etc). It does four things : Check if your javascript are valid wi...