skip to content rich footer

stevenclark.com.au

subscibe to the StevenClark.com.au rss feed

The Cutting Edge of Occam’s Razor

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.

Articles are licenced under a Creative Commons Licence but copyright of images is retained by © Steven Clark 2007 - 2008

Comments are closed.

skip to top of page

Currently Reading

Mental Models by Indi Young (cover)Developing software from the user's perspective as opposed the organisational one is a critical area we need to work on as designers. I'm reading Mental Models by Indi Young, a book about understanding users' reasons for doing things and one system for understanding and designing for those reasons.

It's important to understand that when people visit your website they bring with them their own world view, motivations, experience and expectations. And, by working with those factors, we can improve our game significantly by providing them with what they want and need.