Too many programming terms Errors, Faults & Failures

in #programming8 years ago

This weeks topic will be a classic one, the difference between errors, faults and failures.

And don’t come with “An error is what pops up, the failure is when the pc goes down and that’s completely not my fault!”

Have I already mentioned that Fritz’s father Hans is a mathematician?

Hans.png

Now, Hans got Fritz’s sister a nice birthday present, a swing.
The only problem is that he didn’t know, he had to mount it in the garden.

hansnswing.png

Therefore, the result doesn’t end up as he has expected it since he did various errors during the project.

Like, for example, he didn’t fix up the string at the correct places, or he only used half the
nails they shipped (He thought that’d be very clever).
And, without him knowing another error has been made, the wood which has been shipped isn’t as strong as it’s supposed to be because an error happened while the tree was growing.

hansnursula.png

Now, while little Ursula is trying out that nice swing she’s got the first faults are appearing.

It’s hard to stay on the swing without falling down,
The wood is making strange noises
The frame is moving a lot while she is swinging

.
.Ursulacry.png

And now, even the first failure happened.

Ursula fell from the swing because of the totally weird swing angle.

But that’s not enough

hansnswingbroken.png

and finally, after she ran furiously into the house all the rest of the faults appeared and caused several failures.

The wood broke, the swing, fell, the failing nails made it lose balance

And now everything is broken.

Let’s recap.

An error is something a human being or the environment causes which adds something wrong to the construct, program or machine.

A fault is the manifestation of this error, for example through a message often called a bug.

A failure is when the fault leads to incorrect operation.

Thanks a lot for reading all of this. If you guys have any terms you’d like to see explained, hit me.
In the next weeks when I get the time I’ll also publish a new programming challenge

Sort:  

That seem like a pretty succinct summing up of the messages. Failure can also occur under other conditions, though, wouldn't you agree? For example, memory leakage leading to insufficient RAM capacity?

Yeah but this insufficient RAM capacity must have been caused by someone's error which leads to this situation.
Like, something that's well coded should never crash because of insufficient RAM.
Only if the user does the error, sending too many requests which can cause a fault which leads to a failure.

I'm impressed @raycoms !

You earned yourself a 0.066$ upvote!

PS: You can earn 30% Vote-Cashback by upvoting this comment and all other post/comments by @therealwolf

http://steem.link/introduction-wolfs-voting-bot