Q: What is difference between Bugs and Errors ?

J

Joshua Cranmer

Amit said:
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.
 
R

Roedy Green

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.
 
J

Jani Tiainen

Roedy Green kirjoitti:
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"?
 
L

Lew

lowenbrau said:
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.
 
L

Lew

Jani said:
"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.
 
J

Jani Tiainen

Lew kirjoitti:
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:

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,019
Latest member
RoxannaSta

Latest Threads

Top