Posted by Alexandre Martins on July 26, 2010
These days, reading the Goos book, by Steve Freeman and Nat Pryce, it reminded me of a project I worked on a while ago. It was a one year old system, poorly tested, integrating to a handful of other systems, and the code-base… well I prefer not to remember. Despite this scenario, I joined the [...]
Posted by Alexandre Martins on January 1, 2009
Currently I am learning Clojure. It is a functional programming language, but not a pure one, since you can both write code that share state (mutable) and also ones that doesn’t. Why Clojure? The main reason why I chose Clojure is its easy interoperability with Java, still one of the most used languages, bringing to [...]
Posted by Alexandre Martins on November 6, 2008
Last Wednesday, 5th of November, we run our first Coding Dojo session at Sydney office. We had a reasonable number of attendants, and the experience was fantastic, although we still have some points to improve. The Initiative The idea was originally from my friend and flat-mate Mark Needham. Since we moved in to our new [...]
Posted by Alexandre Martins on April 15, 2008
One of the deliverables to our current client is a project template, containing tools to guide them to build better software, ensuring lower bug occurrence and system integrity. One tool we are using is Findbugs. One day, when running it, we came across an interesting issue, Findbugs was complaining that a class in a project [...]
Posted by Alexandre Martins on July 4, 2007
JBehave and JMock2 are tools I’ve been using on my latest projects to define the behaviours of my objects. Both, when used together supplies pretty much all the resources needed to write effective behaviour verification. But in this topic I’m going to talk about JBehave Matchers. Matchers are handy objects, inspired by JUnit Assert class, [...]
Posted by Alexandre Martins on June 11, 2007
Currently I’m working on my personal project, aiming to increase my Ruby On Rails skills. It’s quite a simple system for my dad’s company and one of the features is to register his clients. I started it out writing the Specs and as I’m new to the Ruby world, doubts started to pop inside my [...]
Posted by Alexandre Martins on January 25, 2007
If you think you know how to work out the age of a person, based on his date of birth, it’d be better to review your concepts about implementing this functionality. Enjoy the code!! public UserImpl( UserTO user, String status ) { _user = user; _status = status; _age = 0; Calendar today = Calendar.getInstance(); [...]