Naming of Predicate Methods

A predicate method is tipically one that should return a boolean value (true or false). These methods are useful in a lot of scenarios, like when you have an class with a boolean attribute. ...

November 7, 2012

Too Short Routines?

I think as developers we tend to create complexity if we don’t think carefully about every line of code we are typing. Systems tend to be complex and managing that complexity is one of the main task we have. Routines are great, they are one of the best ways to encapsulate algorithms and make your code more readable. Sometimes we think routines are too short, but actually the usually are too long....

October 3, 2012

An Important Lesson from Objective-C

I’ve started to develop applications for iOS about 3 months ago and there were a lot of things new for me in that environment (there are a lot yet) and Objective-C wasn’t an exception. ...

September 21, 2012

Subversion: Remove All the Deleted Files from a Repository

In order to remove all the files from the repository after they have been deleted from disk you have a couple of options. ...

September 4, 2012

Return at the Beginning of Functions

I had a little doubt about when to do the return if you have a big if, something like the following function: ...

August 24, 2012