comp.lang.ada
 help / color / mirror / Atom feed
From: Brian Rogoff <bpr@shell5.ba.best.com>
Subject: Re: End of File for streams
Date: 2000/04/19
Date: 2000-04-19T00:00:00+00:00	[thread overview]
Message-ID: <Pine.BSF.4.21.0004190934490.25640-100000@shell5.ba.best.com> (raw)
In-Reply-To: 8djob6$75r$1@wanadoo.fr

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: TEXT/PLAIN; charset=X-UNKNOWN, Size: 784 bytes --]

On Tue, 18 Apr 2000, Jean-Pierre Rosen wrote:
> Brian Rogoff <bpr@shell5.ba.best.com> a écrit dans le message :
> Pine.BSF.4.21.0004180935170.25887-100000@shell5.ba.best.com...
> >On Tue, 18 Apr 2000, Jean-Pierre Rosen wrote:
> >> Exceptions are not called "errors".
> >
> >Refresh my memory then. What is the name of the exception which signals
> >the end of a stream? :-)
> But of course,  errors are one kind of exceptions...

Right, but my point is that the name choice "End_Error" was a very bad one 
because this exception is not likely an error, but simply the exceptional
case of the stream being out of data. 

In my favorite "functional" language, this case is signalled by an
exception named "End_of_file" which is a better name IMO. 

-- Brian






  reply	other threads:[~2000-04-19  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 ` Gautier
2000-04-18  0:00   ` Kevin Rigotti
2000-04-17  0:00     ` Robert I. Eachus
2000-04-18  0:00     ` Jean-Pierre Rosen
2000-04-18  0:00       ` Brian Rogoff
2000-04-18  0:00         ` Jean-Pierre Rosen
2000-04-19  0:00           ` Brian Rogoff [this message]
2000-04-18  0:00     ` Robert Dewar
2000-04-17  0:00 ` Gautier
2000-04-17  0:00 ` Robert Dewar
2000-04-17  0:00   ` Brian Rogoff
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox