473,323 Members | 1,550 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,323 software developers and data experts.

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

- 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
Aug 4 '08 #1
4 1360
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.

On Aug 4, 8:10*pm, "Michael Starberg" <michael.spam-
captcha.starb...@gmail.comwrote:
- 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
Aug 4 '08 #2
"bluefin" <de**************@gmail.comwrote in message
news:e3**********************************@v26g2000 prm.googlegroups.com...
>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

Aug 4 '08 #3
Michael Starberg wrote:
- 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.

;)

--
Göran Andersson
_____
http://www.guffa.com
Aug 4 '08 #4
Happy to make you happy Göran!

- Starberg
Aug 8 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Joe | last post by:
Please repost answer message did not make it last time Hello, Joe here, wanted to get the 411 on this article. I posted in the FrontPage forum but there is never an answer. So I have come...
3
by: Adam | last post by:
I've posted about this previously, but failed to receive a satisfactory response, so have included a code sample: I am trying to receive messages from an HTML viewer control in compact.net (c#),...
1
by: Joannes Vermorel | last post by:
I am having a serialization problem with a simple piece of code (short & complete) available at http://www.vermorel.com/opensource/NGridBugDemo.cs . When I run this code, I get a...
14
by: Steve McLellan | last post by:
Hi, Sorry to repost, but this is becoming aggravating, and causing me a lot of wasted time. I've got a reasonably large mixed C++ project, and after a number of builds (but not a constant...
5
by: Adrian Parker | last post by:
I've got the standard SqlCacheDependency working just fine , ie. I've defined (and encrypted) the connectionStrings section in the web.config, and I've also defined an an sqlCacheDependency in the...
0
by: Ken Powers | last post by:
Hello everyone, Sorry about the repost, my second VB.NET App is done with the exception of this error. I'm getting a strange error when I try to bind a combo box to a Dataset. Here's my code! ...
18
by: Colin McGuire | last post by:
Hi - this was posted last weekend and unfortunately not resolved. The solutions that were posted almost worked but after another 5 days of working on the code everynight, I am not further ahead....
2
by: Gerry | last post by:
I have a combo box and I can populate it with my class of dat (the class allows me to store each userid,username called - see code below I want the user to select the dropdown and see the...
1
by: Robert Dufour | last post by:
IDE in Vs2005 won't let me step through the code in the application events unhandledexception event. The IDE brings up its own unhandled exception dialog which prevents me from stepping through...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.