Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / August 2007

Tip: Looking for answers? Try searching our database.

Q: What is difference between Bugs and Errors ?

Thread view: 
Amit Jain - 25 Aug 2007 19:25 GMT
Q: What is difference between Bugs and Errors ?
Joshua Cranmer - 25 Aug 2007 20:07 GMT
> Q: What is difference between Bugs and Errors ?

Typically a bug is when something works incorrectly. An error is when
something doesn't work at all. These definitions are, however, /very/
fluid and depend mostly on the context. A bug might in actuality be a
design error, for example.

Signature

Beware of bugs in the above code; I have only proved it correct, not
tried it. -- Donald E. Knuth

Amit Jain - 25 Aug 2007 20:21 GMT
Thanks for reply,
Amit Jain
Roedy Green - 26 Aug 2007 06:05 GMT
>Q: What is difference between Bugs and Errors ?

Usually a bug is a mistake a programmer makes. An error is an mistake
the user makes preparing data or using the program.
Signature

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com

Amit Jain - 27 Aug 2007 06:30 GMT
> Usually a bug is a mistake a programmer makes. An error is an mistake
> the user makes preparing data or using the program.
Thanks
Amit Jain
lowenbrau - 27 Aug 2007 11:16 GMT
>> Usually a bug is a mistake a programmer makes. An error is an mistake
>> the user makes preparing data or using the program.
> Thanks
> Amit Jain

A bug can be squashed and an error u can't.
Lew - 27 Aug 2007 14:02 GMT
>>> Usually a bug is a mistake a programmer makes. An error is an mistake
>>> the user makes preparing data or using the program.
>> Thanks
>> Amit Jain
>
> A bug can be squashed and an error u can't.

A bug is an error.

It is a meaningless question, and one more suited to an english.usage type of
newsgroup, or perhaps an alt.philosophy.

The only technical definition of Error in Java is in the Throwable hierarchy.
 There is no technical definition of "Bug [sic]" in Java.

An error is a mistake or other incorrect action.  A bug is an error in a piece
of software.

Signature

Lew

Jani Tiainen - 27 Aug 2007 13:16 GMT
Roedy Green kirjoitti:

>> Q: What is difference between Bugs and Errors ?
>
> Usually a bug is a mistake a programmer makes. An error is an mistake
> the user makes preparing data or using the program.

Depends on context and there is not really any good answers to this one.

"mistake" is synonym (expresses lesser criticism) for "error".

Some definition of "bug" is unexpected defect or imperfection. And it's
more widely used as just in programs, but it always seem to refer
something unexpected.

"error" is defined as unintentional deviation from truth or accuracy
which suggest that there exists some kind of guide or standard to avoid it.

So in which category faulty hardware or network connection goes? Bug or
error?

And not too serious: some people like to eat bugs. Ever watched "Fear
Factor"?

Signature

Jani Tiainen

Lew - 27 Aug 2007 14:03 GMT
> "mistake" is synonym (expresses lesser criticism) for "error".

Since "error" does not "express ... criticism", how does "mistake" express
less of it?

"Error" is an objective term, not a critical one.

Signature

Lew

Jani Tiainen - 28 Aug 2007 07:01 GMT
Lew kirjoitti:
>> "mistake" is synonym (expresses lesser criticism) for "error".
>
> Since "error" does not "express ... criticism", how does "mistake"
> express less of it?
>
> "Error" is an objective term, not a critical one.

Since I'm not native English speaker I'm having troubles to explain but
I try.

Quotation from my own reply:

>> "error" is defined as unintentional deviation from truth or accuracy
>> which suggest that there exists some kind of guide or standard to
>> avoid it.

So it expresses criticism that somebody/something is doing something
wrong - against guide or standard.

And since criticism itself is defined like "evaluation of good or bad
based on prior knowledge".

So to define is something error or not you need to define what is
correct way to do things. To evaluate action you use criticism (altough
that word is not usually used in this context) to determine is it error
or not. So error expresses criticism that you're doing something [badly]
wrong. Mistake on the means also doing something wrong but it just
expresses doing something less wrong than error. For example "typing
error" vs. "typing mistake".

I found interesting piece of definition about error/bug in Wikipedia:
<http://en.wikipedia.org/wiki/Error#Computer_programming>

Which actually suggests that bug is one form of error, like you stated
in other reply to this thread.

But like in many cases, it's not that importat what terms you use but
terms that you use are known within context so everybody knows what
you're talking about - right?

BTW, as far as I know, term "bug" has also been used with electronic
devices.

Signature

Jani Tiainen

Jeff Higgins - 27 Aug 2007 14:12 GMT
> Q: What is difference between Bugs and Errors ?

I kinda like this definition.
<http://en.wikipedia.org/wiki/Error#Computer_programming>


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.