Wednesday, 8 April 2009

Want to save time? Look for the pattern

In this case I'm writing about software development but I feel this point relates to most areas in life. Most things we do canbe viewed as having common elements that could be described as a pattern. Even crowds which you'd assume should be full of independently minded individuals exhibit behaviour that can be described and predicted. 

My experience of programming has proven to me the value of coding for patterns. Creating helper functions, classes and methods to deal with common patterns has saved me innumerable hours over the years and is the only way I know to be able to create new code or an application that works pretty much straight out of the box and with relatively little effort. 

I'm just writing about it now because I checked out http://en.wikipedia.org/wiki/Design_pattern_(computer_science) and thought it explained the basics really well. I researched this years ago and thought it was brilliant. I'd already been doing it but now had a term to describe it. 

No comments: