skip to content rich footer

stevenclark.com.au

subscibe to the StevenClark.com.au rss feed

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.

Social Networking

Keep an eye out for me on Twitter

About the Author

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

My name is Steven Clark (aka nortypig) and my passions are business, web development, photography and writing. My current CV [PDF 619KB] is available for download. I have an MBA (Journalism and Media Studies) and a Bachelor of Computing from the University of Tasmania.

Photography

My photography is at Steven Clark Studio and my regular photo blog presents an ongoing stream of latest images at Walk a Mile in my Shoes and I'm working on a long-term photography project called the King Island Project.

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

Ansel Adams: The Camera

As the first of three parts of Ansel Adams Photography Series, Ansel Adams: The Camera begins by discussing the idea of visualisation in relation to photography. Ansel Adams is a master of his craft; this series has sat on my backburner for some time. Book 2 in this series is The Negative and it's followed up by The Print. In them Ansel outlines his philosophy of photography rather than trying to lay down a set of rules. This first instalment is a technical book that explains the good old fashion film camera.