Good programming rules

S

Stewart Gordon

Ioannis said:
Here are some good programming rules that I have found on the Net:

http://tinyurl.com/yrw3x

http://tinyurl.com/2fv5a

I like this one:

----------------------------------------------------------------------

Okay, I know this isn't rec.games.trivia, but...

Can someone tell me the machine and editor which, when instructed to

MAKE WAR

would respond with

MAKE LOVE NOT WAR

(no, I don't know the answer; someone told me about this one once)

----------------------------------------------------------------------

It can be done with a makefile:

----------
WAR:
@echo MAKE LOVE NOT WAR
----------

For some obscure reason, my (Mac OS X) box allows some executables to be
run in uppercase, but not others.

Stewart.
 
V

Victor Bazarov

Ioannis said:

I remember only one curious thing from my mainframe days.
There was a command "D A" which would Display Active tasks,
and our terminals' spacebars were mostly screwed up, so we
had an alias (I guess) set up so that the system would
accept "DA" to do the same thing, with one difference: it
would say something "Hey, don't be in such a hurry" just
before displaying the list of active tasks.

Another thing I encounter basically every day: Mozilla
news reader and e-mail program has a good spell-checker in
it, but whey you write "etc." anywhere it sees "etc" (no
punctuation is taken into consideration) and immediately
suggests "etc." as a replacement. I bet it will do it in
this message too when I try to send it :)

V
 
I

Ioannis Vranos

Victor said:
Ioannis said:


I remember only one curious thing from my mainframe days.
There was a command "D A" which would Display Active tasks,
and our terminals' spacebars were mostly screwed up, so we
had an alias (I guess) set up so that the system would
accept "DA" to do the same thing, with one difference: it
would say something "Hey, don't be in such a hurry" just
before displaying the list of active tasks.

Another thing I encounter basically every day: Mozilla
news reader and e-mail program has a good spell-checker in
it, but whey you write "etc." anywhere it sees "etc" (no
punctuation is taken into consideration) and immediately
suggests "etc." as a replacement. I bet it will do it in
this message too when I try to send it :)



Yes, Mozilla Thunderbird does the same to me. I do not know if the etc.
thing is a bug of the newsreader or the dictionaries.


It prompts me to make "etc" an "etc." even for "etc."! :)






Regards,

Ioannis Vranos
 
R

red floyd

I remember the good old days back at UC Santa Cruz 1983.

We had to write either an assembler or a linker (I was on the linker
team). Well, we decided to write the 8086 BAT-Linker, so our error
messages were on the order of:

"Holy [something] Batman! [error condition occurred]! Quick, to the
BAT-DEBUGGER!"
"Yes, Robin, but even so, fatal errors are no excuse for poor traffic
safety"
"Gosh, Batman, I never thought of that!"
 
H

Howard

My favorite was in Windows (I forget which version), if there wasn't enough
memory to create a dialog [window]. An error dialog appeared, stating:

"Error: unable to create Error Dialog".

:)

-Howard
 
A

Anil Mamede

For me is:

"A programmer is good or bad depending on what he did and not what he knows"
 
R

rossum

For me is:

"A programmer is good or bad depending on what he did and not what he knows"

Zen error messages:

Windows NT crashed.
I am the Blue Screen of Death.
No one hears your screams.


A file that big?
It might be very useful.
But now it is gone.


The Web site you seek
Can not be located.
Countless more exist.


Aborted effort:
Close all that you have worked on.
You ask way too much.


Yesterday it worked.
Today it is not working.
Windows is like that.


First snow, then silence.
This thousand-dollar screen dies
So beautifully.


A crash reduces
Your expensive computer
To a simple stone.


Three things are certain:
Death, taxes, and lost data.
Guess which has occurred.


You step in the stream,
But the water has moved on.
This page is not here.


Out of memory.
We wish to hold the whole sky,
But we never will.


Having been erased,
The document you're seeking
Must now be retyped.


Serious error.
All shortcuts have disappeared.
Screen. Mind. Both are blank.


From http://www.khandro.net/Bud_paths_Zen.htm


rossum
 

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

No members online now.

Forum statistics

Threads
474,172
Messages
2,570,934
Members
47,474
Latest member
AntoniaDea

Latest Threads

Top