HP3000-L Archives

March 2004, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Michael Berkowitz <[log in to unmask]>
Reply To:
Michael Berkowitz <[log in to unmask]>
Date:
Fri, 12 Mar 2004 14:44:52 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (75 lines)
Stan Sieler writes

-----Original Message-----
From: Stan Sieler [mailto:[log in to unmask]] 
Sent: Friday, March 12, 2004 2:27 PM
To: [log in to unmask]
Subject: Re: GO TO


Re:

> In "The C Programming Language" Kernighan and Ritchie, mention that
goto is
> "infinitely-abusable" but there are a few cases where it may have it's
> place.

I agree...I use it, sparingly, in my C and Pascal.

A Pascal example and rationale is in:
   http://www.allegro.com/papers/htpp.html


> In C Programming Guidelines, Thomas Plum recommends that the goto
statement
> should never be used "for the empirical reason that its use is highly

I'd never hire someone who says "never" :)
------------------------------------------------------------------------
------
Referring back (google never forgets) Dec 23, 1994
http://groups.google.com/groups?q=pascal+sieler&hl=en&lr=&ie=UTF-8&oe=UT
F-8&selm=D1ACJ7.GxA%40allegro.com&rnum=4

However, I don't know because of my three rules about Pascal I/O:

   1) don't use Pascal I/O;

   2) on MPE, use file system intrinsics that are encapsulated (enabling
      easier migration)

   3) *NEVER* user Pascal I/O.

Later on Jan 9, 1997
http://groups.google.com/groups?q=pascal+sieler&hl=en&lr=&ie=UTF-8&oe=UT
F-8&selm=199701091946.LAA25769%40bart.denkart.com&rnum=1

The general rules of programming (any language):

   1) make it readable

   2) try to avoid GOTOs, but don't be paranoid about it

   3) don't use Pascal I/O

Later on 11/14/2003
http://groups.google.com/groups?q=pascal+sieler&hl=en&lr=&ie=UTF-8&oe=UT
F-8&selm=XaednaLD35v3xiiiRVn-gg%40fidnet.com&rnum=2

> How do I get this program to display the messages like your average
COBOL
> program does so easily?

#1: don't use Pascal I/O.
#2: don't use Pascal I/O.
#3: see #1 and #2 above.

I'm afraid as the Donald says "you're fired", see Steve on you way out
the door for your last check :)

Mike Berkowitz
Guess? Inc.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2