Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/04/10 07:52
Read: times


 
Msg Score: +1
 +1 Good Answer/Helpful
#173821 - bugs happen
Responding to: ???'s previous message
The short answer is of course "unhappy", but once we delved into the philosophical side of our profession...

Disturbing it may sound, but in fact, programming is a stochastic process. Bugs happen, and you cannot do anything about it. And bugs happen randomly - the programmer does not plant them in intentionally.

There are techniques to get the odds better - no reason to detail them here, these fill up books - what books - bookshelves, libraries. And, contrary to what many of them try to say, they don't come free. Actually, they come at the highest possible price - the time and brain of every and each programmer has to be invested into learning them and using them in the everyday practice. This results in an exponentially increasing price per bug rate reduction, quite inevitably.

Now what may be even more frustrating is that discovering bugs is a stochastic process, too. In this regard, the "happy" bug is the one which demonstrates itself immediately - won't compile, will crash unconditionally.

Again, there are techniques and tools promising to improve or even automate this process, but they again inevitably fall short of these promises. The cost vs. (discovered) bug rate tends to follow exactly the same exponential pattern as with the "not-writing" bugs case above.

So, at the end of the day, the best thing we as programmers can do is our normal "human" way of coping with things - we have try to learn from our and others errors, each and every day.

This is what this forum is all about (except the fun side of it), isn't it.

Jan Waclawek


List of 17 messages in thread
TopicAuthorDate
Is it "lucky" or "unlucky" when bad code runs "correctly"            01/01/70 00:00      
   I vote UNlucky            01/01/70 00:00      
   Unlucky            01/01/70 00:00      
   unlucky            01/01/70 00:00      
   very unlucky            01/01/70 00:00      
   Very unlucky. At least during testing.            01/01/70 00:00      
   bugs happen            01/01/70 00:00      
   certainly unlucky but...            01/01/70 00:00      
      But it would be very unlucky...            01/01/70 00:00      
         That is a very good point...            01/01/70 00:00      
            recalling a non-aberrant behavior            01/01/70 00:00      
         Just a matter of chance            01/01/70 00:00      
            you do not know Murphy was an optimist?            01/01/70 00:00      
               I'm not defending            01/01/70 00:00      
      considering ??            01/01/70 00:00      
         I disagree            01/01/70 00:00      
            not really            01/01/70 00:00      

Back to Subject List