473,396 Members | 2,068 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,396 software developers and data experts.

Good programming rules

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

http://tinyurl.com/yrw3x

http://tinyurl.com/2fv5a


Regards,

Ioannis Vranos
Jul 22 '05 #1
11 1499
Ioannis Vranos wrote:
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.

--
My e-mail is valid but not my primary mailbox, aside from its being the
unfortunate victim of intensive mail-bombing at the moment. Please keep
replies on the 'group where everyone may benefit.
Jul 22 '05 #2
Ioannis Vranos wrote:
[...]
http://tinyurl.com/2fv5a


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
Jul 22 '05 #3
Something else, which is interesting.

F# : http://research.microsoft.com/projects/ilx/fsharp.aspx


Regards,

Ioannis Vranos
Jul 22 '05 #4
Victor Bazarov wrote:
Ioannis Vranos wrote:
[...]
http://tinyurl.com/2fv5a

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
Jul 22 '05 #5
Ioannis Vranos wrote:
Here are some good programming rules that I have found on the Net: http://tinyurl.com/yrw3x
I luv how your tinyurl stored hl=el . Kewl effect.
http://tinyurl.com/2fv5a


You forgot:

http://mindprod.com/unmain.html

--
Phlip
http://industrialxp.org/community/bi...UserInterfaces
Jul 22 '05 #6
Phlip wrote:
I luv how your tinyurl stored hl=el . Kewl effect.

Actually, I saw the http://tinyurl.com for the first time, from someone
else in this newsgroup.


Regards,

Ioannis Vranos
Jul 22 '05 #7
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!"

----

Or in a translator program I inherited on the job a few years later,
if a union was nested too deeply, it would kick out "NEST LEVEL
EXCEEDED--- I HATE YOU", about 100 times on the screen before aborting.
Jul 22 '05 #8
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
Jul 22 '05 #9
Ioannis Vranos wrote:
Here are some good programming rules that I have found on the Net:

http://tinyurl.com/yrw3x

http://tinyurl.com/2fv5a


My favourite was:-

"Real programmers can write FORTRAN in any language"
--
Chris Gordon-Smith
London
Homepage: http://graffiti.virgin.net/c.gordon-smith/
Email Address: Please see my Home Page
Jul 22 '05 #10
For me is:

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

Chris Gordon-Smith wrote:
Ioannis Vranos wrote:

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

http://tinyurl.com/yrw3x

http://tinyurl.com/2fv5a

My favourite was:-

"Real programmers can write FORTRAN in any language"

Jul 22 '05 #11
On Mon, 12 Jul 2004 10:32:21 +0000, Anil Mamede <am**@mega.ist.utl.pt>
wrote:
For me is:

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

Chris Gordon-Smith wrote:
Ioannis Vranos wrote:

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

http://tinyurl.com/yrw3x

http://tinyurl.com/2fv5a

My favourite was:-

"Real programmers can write FORTRAN in any language"


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

--

The Ultimate Truth is that there is no Ultimate Truth
Jul 22 '05 #12

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

Similar topics

24
by: matty | last post by:
Go away for a few days and you miss it all... A few opinions... Programming is a craft more than an art (software engineering, not black magic) and as such, is about writing code that works,...
80
by: Bibby | last post by:
Hi, I'm interested in getting started in the programming world. I've dabbled in C, C++ and VB6. Which would be the best language to focus my attention to regarding the following considerations: ...
59
by: seberino | last post by:
I've heard 2 people complain that word 'global' is confusing. Perhaps 'modulescope' or 'module' would be better? Am I the first peope to have thought of this and suggested it? Is this a...
20
by: Clark | last post by:
Hi all. I'm looking for good C source code to study and be able to advance my C programming skills. Do you recomend any open source project in particular that in your opinion has good writen C...
60
by: K. G. Suarez | last post by:
Hello everyone. I am new to programming and my uncle gave me a copy of "C For Dummies 2nd Edition". I am up to chapter 9 right now. He probably saw me struggling with "The C Programming...
19
by: JoeC | last post by:
I have seen many books that teack coding for C++. What are ways to improve my techniques for writing larger programs. I have written many demo programs learning some aspects of code wether it be...
7
by: Robert Seacord | last post by:
The CERT/CC has just deployed a new web site dedicated to developing secure coding standards for the C programming language, C++, and eventually other programming language. We have already...
24
by: Diwa | last post by:
Hi All, This is not a C++ technical question, hence this is an off-topic post. But it is C++ related and posted only to this group. Suppose, today a building like Empire State building or...
26
by: rajiv.battula | last post by:
Hey everyone, I am a Java programmer, somewhere between novice to advanced. I wanted to know if it is still recommended to read "The C Programming Language" 2nd Edition? This edition was...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.