
In statically typed languages, each variable must have a minimal type known at compile time. PHP instead, a is dynamic language where variable can contain any...
0 replies - 3293 views - 12/14/11 by Giorgio Sironi in Articles

In the scenario of today, we have a complex constructor: read this definition as anything that does more work than assigning parameters to fields.The solution...
0 replies - 4539 views - 12/12/11 by Giorgio Sironi in Articles

In the scenario we address today, a method is not used from outside a class, or it's called only from a limited set of classes, such as the current inheritance...
0 replies - 3108 views - 12/08/11 by Giorgio Sironi in Articles

Jasmine is a BDD framework for JavaScript (or CoffeeScript) code, which helps you specify and test your classes and functions as the same time.Jasmine is not...
0 replies - 3942 views - 12/07/11 by Giorgio Sironi in Articles

A setter for a certain field is present: maybe it's a generated method, or is used for Dependency Injection.However, in the current state of the code, there...
5 replies - 3366 views - 12/06/11 by Giorgio Sironi in Articles

This Saturday, 2200 software developers gathered in more than 90 cities around the world to improve their skills. This Global Day of Code Retreat was the...
2 replies - 6003 views - 12/05/11 by Giorgio Sironi in Articles

In the scenario of today, two or more parameters are often passed together to a set of similar methods. This happens for example with timing information...
0 replies - 3585 views - 11/30/11 by Giorgio Sironi in Articles

An object Client invokes a method M1, or produces a value in some equivalent way. Then, it passes the result to a new method M2 on the object Server. However,...
0 replies - 2998 views - 11/28/11 by Giorgio Sironi in Articles

Have you ever thought about whether the 2nd Law of Thermodynamics applies to software applications? Do you see your applications as something static -...
0 replies - 1591 views - 11/24/11 by David Pell in Articles

In the scenario of today, we are extracting some fields or calculated values from an object, and then calling a method somewhere else by passing them in as...
0 replies - 3366 views - 11/23/11 by Giorgio Sironi in Articles

The refactoring of today breaks up a method into multiple ones: it chops the method in pieces according to the code that is executed in response to one of the...
0 replies - 3131 views - 11/21/11 by Giorgio Sironi in Articles

In the scenario of today, multiple methods executs mostly the same logic: you can see a strong duplication of code between them, or identical delegation...
0 replies - 2890 views - 11/16/11 by Giorgio Sironi in Articles

In the (recurring) scenario of today, a method modifies the state of an object and returns something at the same time. In this case, the method is an hybrid...
0 replies - 3248 views - 11/14/11 by Giorgio Sironi in Articles

This is the third of several posts
in which I’d like to share some of the things we learned throughout more than 14
sprints of Agile development using...
0 replies - 4313 views - 11/10/11 by Dennis Doomen in News

I delivered a presentation on the above topic earlier this year at an Agile Conference in NCR, India.I have summed up my thoughts below.On a cold winter...
0 replies - 693 views - 11/09/11 by Naveen Gupta in Articles