Posts Tagged ‘Code’

 

When is a bug not a bug?

Tuesday, August 25th, 2009

computer-bugI used to work with someone who said that most bugs in software didn’t exist.

His reckoning was down to the fact that most specifications for functionality aren’t tight enough. For example, if the spec for an adding function was to add two numbers together, adding 5 and 9 together and returning a value of 162 was acceptable. Even returning nothing, or null, or a gazillion was also ok. The specification should have said that the function had to add two numbers and return the correct mathematical result.

(more…)