 |

08-08-2002, 09:29 AM
|
 |
Ultimate Contributor
* Guru *
|
|
Join Date: Sep 2001
Location: Dublin, Ireland
Posts: 1,828
|
|
Why do bugs happen?
Has anybody read anything going into the underlying causes of bugs? Got an article to do on continuous improvement in software support and I seriously need some references.
|
|

08-08-2002, 10:41 AM
|
 |
Disillusioned Code Poet
Retired Moderator * Guru *
|
|
Join Date: Apr 2002
Location: Tennessee, USA
Posts: 12,808
|
|
I'm not sure if it's exactly what you're looking for, but you might take a look at Loquin's tutorials on programming standards & practices in Tutor's Corner. I believe he makes some relevant points.
|
__________________
Laura
Ita erat quando hic adveni.
|

08-08-2002, 10:51 AM
|
 |
Political Coder
Retired Moderator * Guru *
|
|
Join Date: Mar 2001
Location: London, England
Posts: 8,037
|
|
|

08-08-2002, 01:45 PM
|
|
I believe they originated after the collapse of the Soviet Union. Historical reports conflict however.
|
|

08-08-2002, 02:49 PM
|
 |
ISearchGoogle
Retired Moderator * Expert *
|
|
Join Date: May 2001
Location: england
Posts: 6,321
|
|
I always thought bugs appeared through bad coding... 
|
__________________
Chuck Norris ordered a Big Mac at Burger King, and got one.
|

08-08-2002, 03:18 PM
|
 |
Keeper of foo
Retired Moderator * Guru *
|
|
Join Date: Nov 2001
Location: Graceland
Posts: 15,614
|
|
Not always. For instance, sometimes the code is fine, but the logic is flawed...
|
|

08-08-2002, 04:11 PM
|
 |
ISearchGoogle
Retired Moderator * Expert *
|
|
Join Date: May 2001
Location: england
Posts: 6,321
|
|
If the logic is flawed, then the code has bugs. If code has bugs, then its bad...
|
__________________
Chuck Norris ordered a Big Mac at Burger King, and got one.
|

08-08-2002, 05:16 PM
|
 |
Disillusioned Code Poet
Retired Moderator * Guru *
|
|
Join Date: Apr 2002
Location: Tennessee, USA
Posts: 12,808
|
|
I believe Reboot is drawing the distinction between poor design and poor implementation.
|
__________________
Laura
Ita erat quando hic adveni.
|

08-08-2002, 05:52 PM
|
 |
Code Factory
Retired Moderator * Expert *
|
|
Join Date: Jan 2001
Location: Montreal, Ca.
Posts: 5,565
|
|
I see it the same as Chief, Bad code or bad logic, if there is anything wrong with the code, it's a bug.
|
|

08-09-2002, 02:33 AM
|
Banned
|
|
Join Date: Jan 2002
Location: Australia, Sydney
Posts: 356
|
|
Didnt the word originate from the mark1 or some old computer breaking down due to a large moth?
|
|

08-09-2002, 02:49 AM
|
 |
Ultimate Contributor
* Guru *
|
|
Join Date: Sep 2001
Location: Dublin, Ireland
Posts: 1,828
|
|
The word was coinded by Grace Hopper (I kid you not) when a moth got stuck in an early computer...yes.
What I'm kind of thinking of is - you know when a plane crashes they get out the balck boxes and investigate why that plane crashed and when this is done they then see what can be done to other planes to stop them crashing from the same cause. Anyway - when a bug happens in software we need to get to the root cause of that bug and then put in place a process to track down any parts of our programs where such a bug could happen again due to the same cause.
I'm looking for some non-copyright code to show you what I mean.....hmm, may have to deliberately write some bugs to illustrate the points 
|
|

08-09-2002, 08:44 AM
|
 |
Keeper of foo
Retired Moderator * Guru *
|
|
Join Date: Nov 2001
Location: Graceland
Posts: 15,614
|
|
Quote:
Originally posted by Robby
I see it the same as Chief, Bad code or bad logic, if there is anything wrong with the code, it's a bug.
|
I agree, however, my statement was in reply to Chief's "I always thought bugs appeared through bad coding"...
I have seen flawless code that didn't do what it was supposed to. And often not the fault of the programmer. Is it a bug? Yes. Was it poor coding? Not always....
|
|

08-09-2002, 09:01 AM
|
 |
Strange Brewer
Retired Moderator * Guru *
|
|
Join Date: Jun 2001
Location: AddressOf Insomnia
Posts: 2,815
|
|
I generally get bugs when I don't do the dishes right away, or leave the front door open. Sometimes they manage to find their way thru the ventilation system.
4" cucarachas are scary, let me tell you.
Seriously though, most of my bugs are due to misfiring brain synapses or inadequate logic. And the dishes thing 
|
__________________
"The lights below
You know they'll bleed forever
Get back as the cores blow
Let me fall..." - Dismantled, "Cornered"
|

08-10-2002, 12:10 AM
|
 |
Code Factory
Retired Moderator * Expert *
|
|
Join Date: Jan 2001
Location: Montreal, Ca.
Posts: 5,565
|
|
Reboot, I see what you mean.
Hand, I've been to Mexico, I know what you mean too. :EEK:
|
|

08-10-2002, 05:00 PM
|
 |
Contributor
|
|
Join Date: Jul 2001
Location: Pennsylvania
Posts: 481
|
|
Could a bug possibly be caused by another program running, and that they try to allocate the same section of memory, perhaps some programs running can be imcompatible, and hence it creates bugs.
Yeah, I remember when I heard the story. Back in the day when computers were the size of a room, a low level of the computer was operated by switches, and some kind of insect got stuck in it, making the switch unable to operate, a funny story, IMO, I think it happened in my home city of Philadelphia (Where I'm at now, and why I'm not on mIRC). Oh well, I just thought I might put the above thought in to spark some thought from the fellow programmers on the site. Bye.
Ed
|
__________________
Not sure what the new signature is going to be.
|

08-10-2002, 05:53 PM
|
 |
Political Coder
Retired Moderator * Guru *
|
|
Join Date: Mar 2001
Location: London, England
Posts: 8,037
|
|
An insect inside your PC these days could block the fan and completely crash the machine.

|
|

08-10-2002, 06:00 PM
|
|
If the insect was the size of a koala...
|
|

08-10-2002, 06:12 PM
|
 |
Dead dog's ghost
Forum Leader * Expert *
|
|
Join Date: Feb 2001
Location: Celje, Slovenia, Europe
Posts: 2,601
|
|
Hugh! That's gotta be a scarry one...
|
__________________
Yes, MSDN comes with VB! Yes, you must have at least 25 post to have an avatar! No, you cant write your OS in VB! and NO, YOU CAN NOT DECOMPILE IT!
I'm sure there are things that are more important than me - I just can't thing of any...
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|