November 26th in Unit Testing by . no comment .

How Unit Testing Helped Me Slash a Nasty Bug

To make a library ready for production, you need to write unit tests that cover all the core functionalities of the library. Then you will need to establish a means to automatically run those unit tests in different target environments. Only when a library passes all unit tests in all …

Continue Reading
November 19th in Discussion by . no comment .

Resistance is Futile

This is my 42nd post . If you’re as geek as I am, that’s good for you that you know what excites me. Otherwise typing 42 into Google may be a revelation that will put your mind into order. 8 months ago, I started this blog with a bold claim …

Continue Reading
November 13th in Basics by . 2 comments .

Show Love to the Strict Mode

If you’ve skimmed through the source code of o2.js modules you’ll see “‘use strict’” declarations at their top. The ‘use strict’ pragma forces JavaScript engine to run in strict mode, for the browsers that support it. Strict mode, as its name implies, obliges a stricter usage of the language. And …

Continue Reading
November 5th in Functional Programming by . no comment .

Everything You Need To Know About JavaScript Functions (and more)

Functions are the building blocks of any JavaScript module. In this tutorial, we’ll have a glance on basic principles behind functional programming in JavaScript, along with some lesser known features of JavaScript functions. This is mainly a follow-up, and a more in-depth analysis, of a former JavaScript Function Kung-Fu post. …

Continue Reading
o2.js _
Fork Ribbon