Article View: comp.lang.modula2
Article #1467Re: Why 3 button mice in Oberon?
From: Stephen J Bevan
Date: Tue, 29 Sep 1992 17:14
Date: Tue, 29 Sep 1992 17:14
22 lines
1701 bytes
1701 bytes
In article <5275@balrog.ctron.com> smith@ctron.com (Larry Smith) writes: >>Someday, I hope to have time to add exceptions to Oberon >Whatever for? Because I consider them to be a fundamental control flow device, and absolutely required to produce safe code. I don't have time to enter into a full net.debate about it, so just take it as my humble opinion. I'll make just this one post. [ lots of examples of using exception handlers deleted ] From the examples given, it seems we have fundamentally different ideas about what an "exception" actually is. For example, when reading characters from a file, I do not consider reaching the end of the file as an exceptional condition and I certainly don't like the idea of using an exception to terminate an iteration over a fixed range. IMHO exceptions can be replaced by either making a function take/return additional arguments or by dynamically binding a function to be called in the event of an "exception". bevan
Technical Details
Message-ID:
<BEVAN.92Sep29181450@tiger.cs.man.ac.uk>Path:
arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!spool.mu.edu!agate!doc.ic.ac.uk!uknet!mucs!m1!bevanReferences:
<1992Sep15.223854.11203@sequent.com> <11145@minnie.informatik.uni-kiel.dbp.de> <1992Sep16.165505.13713@sequent.com> <5176@balrog.ctron.com> <gsc.717334211@coombs> <5275@balrog.ctron.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!spool.mu.edu!agate!doc.ic.ac.uk!uknet!mucs!m1!bevan From: bevan@cs.man.ac.uk (Stephen J Bevan) Newsgroups: comp.lang.modula2 Subject: Re: Why 3 button mice in Oberon? Message-ID: <BEVAN.92Sep29181450@tiger.cs.man.ac.uk> Date: 29 Sep 92 17:14:50 GMT References: <1992Sep15.223854.11203@sequent.com> <11145@minnie.informatik.uni-kiel.dbp.de> <1992Sep16.165505.13713@sequent.com> <5176@balrog.ctron.com> <gsc.717334211@coombs> <5275@balrog.ctron.com> Sender: news@cs.man.ac.uk Organization: Department of Computer Science, University of Manchester Lines: 22 In-reply-to: smith@ctron.com's message of 29 Sep 92 13:33:07 GMT