Subject: | |
From: | |
Reply To: | F. Alfredo Rego |
Date: | Thu, 11 Mar 2004 16:42:45 -0800 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
At 16:52 -0700 3/11/04, KENT WALLACE wrote:
>I was told in 1986 when I worked at Boeing, never to use "GO TO"'s. I have had this discussion off the list. I have written a few languages and have compiled the following list.
>
>Language USE of "GO TO"
>
>COBOL It's a sin, some use it to exit paragraph but I won't.
>PASCAL Never
>C Never
>COGNOS There is not one!
>ADA Never, poor coding practice
>VB .NET Use EXIT SUB, IF etc...(never)
>FORTRAN Yes
>SPEEDWARE ??
Ah... But *all* of these languages, eventually, get translated to
SOME language that has, at least, two kinds of "go to" (or "jump",
or whatever you want to call them) statements: unconditional and
conditional.
You may hide them, but you can't (eventually) avoid them.
Here is some info:
http://www.cs.umd.edu/class/spring2003/cmsc311/Notes/Mips/jump.html
The equivalent TinyURL: http://tinyurl.com/3axw5
Enjoy,
_______________
| |
| |
| r | Alfredo http://www.adager.com
| e |
| g | F. Alfredo Rego
| a | Manager, R & D Labs
| d | Adager Corporation
| A | Sun Valley, Idaho 83353-3000 U.S.A.
| |
|_______________|
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|