[repost][joke] Truths about code....

  • Thread starter Michael Starberg
  • Start date

M

Michael Starberg

- If it compiles, it works.

- If it compiles, it's correct.

- If it runs, it doesn't have any bugs.

- If it doesn't have any immediately obvious bugs, it's perfect.

- If a bug doesn't show, it doesn't exist.

- If it seems to work, it works.

- Testing takes only a short while.

- Bug-fixes don't need to be tested.

- It's OK to crash on bad input.

- It's OK to give incorrect output on bad input.

- Undocumented features are fun and useful.

- Surprised users are happy users.

//Michael Starberg
 
B

bluefin

Program code doesn't make error by itself, human who does the program
code make logical error intentionally e.g. trojan horse, and
unintentionally the power cut off by thunder lightning.
 
Ad

Advertisements

M

Michael Starberg

bluefin said:
Program code doesn't make error by itself, human who does the program
code make logical error intentionally e.g. trojan horse, and
unintentionally the power cut off by thunder lightning.
That is mostly true. But remember the first pentium cpu's?

PENTIUM - Produces Errornous Numbers Through Incorrect Understanding of
Math. =)

// Starberg
 
G

Göran Andersson

Michael said:
- If it compiles, it works.

- If it compiles, it's correct.
Of couse. What else could be wrong?
- If it runs, it doesn't have any bugs.

- If it doesn't have any immediately obvious bugs, it's perfect.

- If a bug doesn't show, it doesn't exist.

- If it seems to work, it works.
Natually. Either it runs or it doesn't, right?
- Testing takes only a short while.
Well, it compiles, and it runs. What more do you need?

Testing phase complete. Pack it and ship it.
- Bug-fixes don't need to be tested.
Why would they? I clearly see now how the code could be wrong, but now
it's fixed.
- It's OK to crash on bad input.

- It's OK to give incorrect output on bad input.
GIGO - garbage in garbage out. Why would I be responsible for the errors
of the idiots running the program?

(They probably didn't need those files anyway...)
- Undocumented features are fun and useful.
Naturally. Evolution is largely due to random mutation. Who doesn't want
the program to evolve?
- Surprised users are happy users.
And it keeps them alert, so that they don't make more stupid input errors.

;)
 
Ad

Advertisements


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

Top