From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_00,INVALID_MSGID, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,4f2ff548f619cc58 X-Google-Attributes: gid103376,public From: "Jean-Pierre Rosen" Subject: Re: End of File for streams Date: 2000/04/18 Message-ID: <8dh37j$qef$1@wanadoo.fr>#1/1 X-Deja-AN: 612583723 References: <8df15j$e4b$1@trog.dera.gov.uk> <38FB5996.C7CCB816@maths.unine.ch> <8dg55l$us3$1@trog.dera.gov.uk> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 X-Complaints-To: abuse@wanadoo.fr X-Trace: wanadoo.fr 956043315 27087 193.250.43.160 (18 Apr 2000 07:35:15 GMT) Organization: Adalog X-MSMail-Priority: Normal NNTP-Posting-Date: 18 Apr 2000 07:35:15 GMT Newsgroups: comp.lang.ada Date: 2000-04-18T07:35:15+00:00 List-Id: Kevin Rigotti 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