Differences between "Bug" and "Error"
Page 1 of 1
Ace128




Posts: 337

PostPosted: Wed, 24th Aug 2005 17:03    Post subject: Differences between "Bug" and "Error"
Hey folks,

Me and my buddies here had this discussion about those two words and their meaning. My friends say Bug = Error, but not me. For me its more like error is more serioius and happends all the time and thus must be fixed. Bug is something that _can_ make the application disfunction. Occationally.

What do you guys say?
Back to top
RaGe666




Posts: 11

PostPosted: Wed, 24th Aug 2005 17:12    Post subject:
For me a bug is something that is not working as it should be, but with an error it's not working at all. Smile


Yea, my English is bad... but I am German, so I have other problems!
Back to top
toeffy
VIP Member



Posts: 1501

PostPosted: Wed, 24th Aug 2005 17:15    Post subject:
a bug can be a certain situation that causes a program to output unwanted results more like a little glitch in the programming. a situation that was not thought of. an error is a program failure.


jesus christ was a gangsta rapper. they killed him. he came back and made a platinum album.
Back to top
skidrow
Moderator



Posts: 8691

PostPosted: Wed, 24th Aug 2005 18:11    Post subject:
bug: A computer bug is an error, flaw, mistake, failure, or fault in a computer program that prevents it from working correctly or produces an incorrect result. Bugs arise from mistakes and errors, made by people, in either a program's source code or its design. It is said that there are bugs in all useful computer programs, but well-written programs contain relatively few bugs, and these bugs typically do not prevent the program from performing its task. A program that contains a large number of bug

error: the occurrence of an incorrect result produced by a computer


Back to top
Ace128




Posts: 337

PostPosted: Wed, 24th Aug 2005 19:44    Post subject:
toeffy wrote:
a bug can be a certain situation that causes a program to output unwanted results more like a little glitch in the programming. a situation that was not thought of. an error is a program failure.


Exactly my thought also. Maybe they didnt get what I mean. In some way I get them that bug = error... But I dont see them as equals.
Back to top
Mutantius
VIP Member



Posts: 18594
Location: In Elektro looking for beans
PostPosted: Wed, 24th Aug 2005 20:16    Post subject:
skidrow wrote:
bug: A computer bug is an error, flaw, mistake, failure, or fault in a computer program that prevents it from working correctly or produces an incorrect result. Bugs arise from mistakes and errors, made by people, in either a program's source code or its design. It is said that there are bugs in all useful computer programs, but well-written programs contain relatively few bugs, and these bugs typically do not prevent the program from performing its task. A program that contains a large number of bug

error: the occurrence of an incorrect result produced by a computer


I have to agree here... Though if the program have all its purposes working on 100% and with no errors at all, then how can it have a bug?


"Why don't you zip it, Zipfero?" - fraich3
Back to top
Griffon
Banned



Posts: 1875
Location: Belarus
PostPosted: Wed, 24th Aug 2005 20:44    Post subject:
Mutantius wrote:
skidrow wrote:
bug: A computer bug is an error, flaw, mistake, failure, or fault in a computer program that prevents it from working correctly or produces an incorrect result. Bugs arise from mistakes and errors, made by people, in either a program's source code or its design. It is said that there are bugs in all useful computer programs, but well-written programs contain relatively few bugs, and these bugs typically do not prevent the program from performing its task. A program that contains a large number of bug

error: the occurrence of an incorrect result produced by a computer


I have to agree here... Though if the program have all its purposes working on 100% and with no errors at all, then how can it have a bug?

Some programs may have no errors, but they may have bugs.

For example(bug): I installed some txt reader, and when I try to view a TXT file, the program doesn't wrap the text. I quit, I reenter, I open the TXT, and BAM! Everything is normal. But when I try again, it doesn't wrap it again :\

Error: I installed some txt reader, and when I try to view a TXT file, it says "Error occured in TXTReader.exe application will be closed".


About Hitman: Movie (2007)
Vin Diesel is a hardcore gamer, and absolutely loves the Hitman series. For that reason I have faith that he wont destroy the movie.

Response: Well, Uwe Boll probably loved the Alone in the Dark games.
Back to top
sTo0z
[Moderator] Babysitter



Posts: 7449
Location: USA
PostPosted: Wed, 24th Aug 2005 21:43    Post subject:
The way I was taught in my computer science education:

a bug is a syntactically correct path of code that produces results other than intended.

an error is a problem that prematurely ends a batch of code against the design of the program.


Back to top
tRanSwarP




Posts: 202
Location: Germany
PostPosted: Wed, 24th Aug 2005 22:01    Post subject:
I think from a programmers perspective a error is the logical consequence of a bug.

A bug is an (syntactic or sematic) error in the source of a program.
A bug produces a program error when buggy code is executed.

Basically both words are dependant on the perspective of their usage.

my 2 cents
transwarp
Back to top
Page 1 of 1 All times are GMT + 1 Hour
NFOHump.com Forum Index - General chatter
Signature/Avatar nuking: none (can be changed in your profile)  


Display posts from previous:   

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.8 © 2001, 2002 phpBB Group