Archive for category API
Feedback welcome: session proposals for Agile 2010
Posted by Alex Ruiz in API, Agile, Conference, Testing on February 25, 2010
I just finished writing two proposals for Agile 2010. As usual, I asked my friends for feedback (through Twitter.) Since the conference’s site requires registration and some of my friends don’t have an account, I’m blogging about my proposals, hoping to get some feedback (thanks Jonathan for the suggestion!) As a side (and funny) note, [...]
A (overlooked?) use case for the Strategy pattern, part 2: it’s not about Template Method
Recap As I explained in my previous post, I think there is a use case for the strategy pattern that, in my opinion, we often overlook: This is what I’ve seen: class A has method x. Just after method x is done doing its thing and before it exits, it calls a (sometimes empty) protected [...]
A (overlooked?) use case for the Strategy pattern
Composition over inheritance. It seems that we all agree and understand this valuable principle. I’ve been reading a good amount of code lately from some open source projects (including mine,) and I think we are still missing at least one use case where to apply it. This is what I’ve seen: class A has method [...]
A couple of lessons I learned about API design
One of the reasons I work on open source is to become a better programmer. Learning opportunities come from different sources, being practice the more obvious one. In the last couple of weeks I learned two important lessons about API design not by practicing my craft, but from listening to our users. What I learned [...]
My name is Alex Ruiz. I'm a programmer with special interest in Java, API design, testing and OOP. I'm the creator of 

