Fluent Interface is a way to concatenate method calls that is particularly useful with builders because it allows for a very concise and self explanatory syntax: To write a fluent interface enabled method all you need to do is to return the object itself (this): This builder can be called like this: The problem isContinue reading “Extending a class using fluent interface”
Category Archives: coding
Programmers vs Hackers
Hackers have acquire a sort of mystical aura around them, they are the sort of magic gods that are able to do almost everything in half the time or better than any normal, boring, sad programmer (at half the cost). This is simply not quite true. I consider myself a programmer and I was whatContinue reading “Programmers vs Hackers”
The importance of comments
Some years ago I thought very high of code comments because they were a mean to explain the obscurities of code and, even more, because Joshua Bloch advised in their favor! Then I start being interested into agile techniques mainly as a mean to gain efficiency and productivity with my team. The agile technique isContinue reading “The importance of comments”