skip to content rich footer

stevenclark.com.au

subscibe to the StevenClark.com.au rss feed

Keep an eye out for me on Facebook and Twitter

Archive for September, 2007

The Cutting Edge of Occam’s Razor

Saturday, September 29th, 2007

When you have a number of theories about something you should always go with the simplest theory first. The maxim is called Occam’s Razor.

The web industry relevance of Occam’s Razor might not be that obvious so I’ll explain. You might be working on some code and suddenly realise there is something majorly buggy afoot – and there are a number of things that could cause it. Your options range from a total rebuild of the work you’ve already done OR you might have an idea that only requires a smaller fix ‘if you are correct’. That if is a big IF so you really don’t know which way to go. So which way do you go?

Occam’s Razor to the rescue. Its always better to try the easier solutions before you go get psycho on the huge ones. I can recall several times when I opted for the total rebuild and realised half way through that something rather easy to fix had originally been the error. Too far into it to return for the easy fix, so I wasted a whole lot of time. That’s why Occam’s Razor has a particular place among scientists (and computer scientists).

If a scientist has a number of hypotheses which could be true then the heuristic rule of thumb is to test the simpler hypotheses first. It intuitively makes sense after all. If they’re correct then there’s no need look any further.

Those middle ages Franciscan monks (William of Ockham) weren’t all that silly.

About the Author

Steven Clark Steven Clark - the stand up guy on this site

My name is Steven Clark and my passions are business, web development, photography and writing. My current CV [PDF 775KB] discusses relevant work history and interests. Currently I'm in the second half of a post-graduate university degree of MBA (Journalism and Media Studies) at the University of Tasmania.

Social Networks

Lo and behold I now happen to inhabit the realms of Facebook and Twitter so see you over there.

Photography

My fine art photography is available online at Steven Clark Studio. You may also enjoy my photo blog Walk a Mile in my Shoes.

Recently Reviewed Books

Site Supporters

Hosted by Brett Drinkwater at Tashosting who is always there at the other end of my every inconvenient question and technical crisis. Brett's local community support for us over the last five years is greatly appreciated.

skip to top of page
Currently Reading The Accidental Guerrilla by David Kilcullen

Late last year I watched an address to the Australian National Press Club from counter-terrorism expert and author of The Accidental Guerrilla: Fighting Small Wars in the Midst of a Big One , David Kilcullen. In that address he mentioned the period after World War 2 when, in retrospect, we had wars against colonialisation as countries pushed back against dominating forces. Similarly, when we look back at the current wars we’ll see them as wars against globalisation – people pushing back against the tide of world wide Americanisation and globalised culture. David Kilcullen is there to inform us that what the American government are group-labeling global terrorists are more often than not local insurgents with local concerns. Understanding this crucial point and unraveling the complexity of the enemy is crucial to America's success in the field.