Re: RE: Dear Coders - Rules You Learned in Kindergarten
It's definitely possible to write the 'perfect' piece of software (for a given definition of perfect). It all comes down to how much cash and how much time Management is willing to give you to check and test.
There are mathematical techniques you can use to analyse your code to check for logical bugs, and as has been mentioned, if performance is not the bottleneck, then you check ALL of your inputs and outputs to ensure they fulfil your contract, and never, EVER, return anything that you haven't documented in full.
Of course, in the business world that most of us operate in, these niceties are the first thing to go to the wall in preference for getting the software out the door and into the hands of the great unwashed.
Remember the old Project Manager's adage: Quality, Cost, Time ... pick any two.