Archive for the ‘Design Techniques’ Category

Calculating time difference in months as a decimal number

Wednesday, October 8th, 2008

There’s a number of functions out there for calculating the length of time in months but they only provide integer results. MySQL can do it too, for instance. But what if you need to get a precise number?

2008-11-15 minus 2008-10-01 can’t be one if you’re calculating rent. It must be 1.466…


eXtreme Programming eXplained: Embrace Change

Friday, March 2nd, 2007

Delivery delays, changes in specification that should have been known beforehand, bad and outdated documentation, team-mates who cause more damage than good.
These things (among many others) make programming difficult to like.


A Conversation with Erich Gamma

Friday, November 3rd, 2006

When searching for more information on design patterns I found a series of interviews with Erich Gamma, co-author of the book, Design Patterns: Elements of Reusable Object-Oriented Software, on Artima Software website. (more…)

Refactoring: Improving the Design of Existing Code

Tuesday, September 12th, 2006

When thinking about what makes an effective programmer I realized that as with any advanced skill you learn what are the best techniques to do something and you end up using them together as an atomic procedure. You no longer think of the best way to get information from a form and save it into database. You’ve brushed it up already and now you use it without thinking twice. You surely have a set of functions / objects to do it but that’s not my point. I’m talking about the patterns, not their implementation.
So how do I take a short cut so that I don’t have to waste my time with inventing my own patterns. I answered to myself: RTFM :-)



Sunday, September 10th, 2006

The reason why I have ever started this blog was to share good ideas with you, the accidental visitor. And hopefully to learn new things through your comments.

I’m working on a post about a book I read (Refactoring: Improving the Design of Existing Code) so subscribe to my RSS feed to get it fresh.

I plan to end all of my posts with a set of questions to stir up the conversation and to guide your comments to topics that I’m insterested in. Read further to see what I come up with to start.