From: David Taylor <dtaylor@iquest.com>
Subject: why not when others
Date: 1996/09/05
Date: 1996-09-05T00:00:00+00:00 [thread overview]
Message-ID: <322F7432.7271@iquest.com> (raw)
In-Reply-To: INFO-ADA%96090309470743@LISTSERV.NODAK.EDU
Chris Sparks wrote:
>
> I want to thank all of the individuals who responded to my query
> about the "when others" part for a case statement. My group decided
> to not use "when others" so that the compiler can catch any new additions.
>
> Thanks Robert for the insight about "pragma Assert". Definitely a winner!
>
> Chris Sparks
>
> PS: Sorry for my ILLEGAL use of the work ERRONEOUS (pun intended)
If you are working on a large program of approx 1M semicolons and have
40 programmmers and many interdependent parts and an overly ambitious
schedule and your best change assessment tool is grep, you will learn to
program defensively by doing such things as not using "when others"
whenever possible. Learn to make the compiler do as much of the grunt
work as you can.
dt
next prev parent reply other threads:[~1996-09-05 0:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-09-03 0:00 (no subject given) Chris Sparks
1996-09-04 0:00 ` Jon S Anthony
1996-09-05 0:00 ` Robert Dewar
1996-09-05 0:00 ` David Taylor [this message]
1996-09-06 0:00 ` why not when others Robert Dewar
1996-09-06 0:00 ` (no subject given) Jon S Anthony
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox