From: "Jean-Pierre Rosen" <rosen.adalog@wanadoo.fr>
Subject: Re: End of File for streams
Date: 2000/04/18
Date: 2000-04-18T07:35:15+00:00 [thread overview]
Message-ID: <8dh37j$qef$1@wanadoo.fr> (raw)
In-Reply-To: 8dg55l$us3$1@trog.dera.gov.uk
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 744 bytes --]
Kevin Rigotti <rigotti@atc.dera.gov.uk> a �crit dans le message :
8dg55l$us3$1@trog.dera.gov.uk...
> 2) I don't like using exceptions for non-exceptional behavior. Just a
> personal foible.
>
But it IS exceptional behavior!
Exceptions are not called "errors". Exceptional processing is when you
cannot continue with "normal" processing (i.e., an exception to the rule).
Typically, you have a loop, and you encounter a situation that forces you to
make something different from the regular loop processing. Seems to me that
the end of file typically fits this situation.
--
---------------------------------------------------------
J-P. Rosen (Rosen.Adalog@wanadoo.fr)
Visit Adalog's web site at http://pro.wanadoo.fr/adalog
next prev parent reply other threads:[~2000-04-18 0:00 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-04-17 0:00 End of File for streams Kevin Rigotti
2000-04-17 0:00 ` Robert Dewar
2000-04-17 0:00 ` Brian Rogoff
2000-04-17 0:00 ` Gautier
2000-04-17 0:00 ` Gautier
2000-04-18 0:00 ` Kevin Rigotti
2000-04-17 0:00 ` Robert I. Eachus
2000-04-18 0:00 ` Jean-Pierre Rosen [this message]
2000-04-18 0:00 ` Brian Rogoff
2000-04-18 0:00 ` Jean-Pierre Rosen
2000-04-19 0:00 ` Brian Rogoff
2000-04-18 0:00 ` Robert Dewar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox