BLOG
TESTING

Is the code bug free?

And does it event matter? We suspect that there are some developers out there that could even generate a crash with a hello world line of code.

~ Written by Andrew Fullen

And does it matter?

Once any piece of code goes beyond PRINT “HELLO WORLD” you are going to find bugs. I suspect that there are some developers out there that could even generate a crash with a hello world line of code.

Bugs are annoying. They cost money. We spend a lot of time and effort trying to get rid of the pesky little critters. Most of my professional life has been spent trying to find them, fix and prevent them. I have read learned papers on how best to classify them and report on them. I’ve spent eyes watering amount of money on tools to an instrument and detect bugs in running software.

Code coverage has been a passion of mine. But after years of thinking about it and reading almost everything I could find on the subject I’ve been able to boil it all down into one little flow chart.

Bugs fall into just two of types:

  1. Those we care about and
  2. Those that we don’t.

When we get down to it, most projects spend a lot of time recording defects that no one excepts the person who spotted it, gives a <cough> cares about.

So, you know what the best answer is? “Don’t be bothered with them!”

Ignore them the same way you ignore the people doing opinion polls who get in your way when trying to catch the 84 bus home. Step away from them. Don’t make eye contact. Just keep on with the journey home. If the bus doesn’t come, that’s a problem. If it’s raining and you are cold and tired and the bus is waiting for you but it’s the wrong shade of red, so what? It will get you home. You don’t spend time writing it down. You are just grateful it’s there and you can catch it to get home.

It’s time to treat bugs the same way.

Ignore those that don’t matter and focus on those that do.

todo todo
CONTACT US
  • Sogeti UK
    Sogeti UK
    Make an enquiry
    0330 588 8200