
The learning curve of a programming language also consists of its errors (and exceptions), not only of its features. Often we are tempted to estimate a task...
0 replies - 3102 views - 09/17/12 by Giorgio Sironi in Articles

So you've got this big ball of code. You don't even know how to call all of these scripts, but the code is in production and works just fine (until you have to...
0 replies - 3638 views - 06/11/12 by Giorgio Sironi in Articles

There are 2 hard things in electronic machine code writing computer science: naming things and cache invalidation.We'll talk about the first today: the...
0 replies - 5232 views - 04/12/12 by Giorgio Sironi in Articles

The best way to scale a test suite to hundreds of classes and to maintain it for several years is to focus only on unit tests for specifying and checking the...
0 replies - 3266 views - 04/02/12 by Giorgio Sironi in Articles

The Decorator pattern is a way to reduce multiple levels of inheritance that clash with each other; for example, if you want to create objects which address...
0 replies - 3534 views - 02/09/12 by Giorgio Sironi in Articles

With the 1.2 release, PHPUnit_Selenium supports (basically) for the first time the Selenium 2 WebDriver API. While PHPUnit_Selenium already worked with...
5 replies - 7332 views - 01/19/12 by Giorgio Sironi in Articles

This is the second part in the refactoring from type codes miniseries: type codes are scalar fields that can assume a finite number of values. The assumption...
0 replies - 4581 views - 09/26/11 by Giorgio Sironi in Articles

Last week we talk about Hide Delegate as a tool for conforming to the Law of Demeter, and avoiding continuously scavenging the object graph in all directions....
0 replies - 4455 views - 08/01/11 by Giorgio Sironi in Articles

HATEOAS (Hypermedia As The Engine Of Application State) is one of the most important constraints in REST. Yet some explanations of this principle found on the...
0 replies - 6354 views - 07/12/11 by Giorgio Sironi in Articles

There is a maxim said by Misko Hevery which I share (and probably misquote) here:The only acceptable excuse for lack of tests is that you don't know how to...
5 replies - 7225 views - 06/23/11 by Giorgio Sironi in Articles

If you have written a bit of JavaScript, you certainly have heard the word prototype. Prototype is not only a JavaScript library, but also a key concept of...
0 replies - 5558 views - 05/03/11 by Giorgio Sironi in Articles

As you know I love ssh, but I also love the command line tools in general.However, many times I see ordinary people (non-programmers, but even programmers)...
0 replies - 4918 views - 02/16/11 by Giorgio Sironi in Articles