🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #1512

Re: mail delivery error

#1512
From: Stephen J Bevan
Date: Thu, 12 Nov 1992 12:29
29 lines
1989 bytes
In article <5897@balrog.ctron.com> smith@ctron.com (Lawrence C Smith) writes:

   [ much that I agree with ]

   >      e) DEFINITION & IMPLEMENTATION merged.  Exported identifiers are
   >      marked with a *.  Read-only exported variables are marked with a -.
   >      Let us hope they make a read-only VAR parameter, which would be
   >      useful for exported procedures that take a VAR parm for efficiency.
   >      The programmer using the procedure would be guaranteed that the
   >      parameter is not modified!

   This was a really bad move.  Now you can't define the interface separately
   and enforce it, and the "*" and "-" stuff is really kludgy, very atypical
   of Wirth's work.

You could, of course, argue that the def/imp model is a "bad move"
because it forces one interface on a piece of code.  There is nothing
stopping me using an implementation for more than one purpose (e.g. an
avl tree to implement a set or a map) by having two interfaces to it
(a la signatures/structures in ML).  Personally I'm ambivalent.

   Just about the best language money can buy, though. All it needs is a good
   exception-handling mechanism to be ready to take on all comers.

Hm, seems to be a bit of deja vu here :-)  Did you see/reply to my
last set of questions about your view of exception handling.  I didn't
see any folloup.

bevan
Technical Details
Message-ID: <BEVAN.92Nov12122929@beluga.cs.man.ac.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!ornl!utkcs2!darwin.sura.net!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!doc.ic.ac.uk!uknet!mucs!m1!bevan
References: <9211091022.A01745@MAIL.CASI.NASA.GOV> <5897@balrog.ctron.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ornl!utkcs2!darwin.sura.net!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.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: mail delivery error
Message-ID: <BEVAN.92Nov12122929@beluga.cs.man.ac.uk>
Date: 12 Nov 92 12:29:29 GMT
References: <9211091022.A01745@MAIL.CASI.NASA.GOV> <5897@balrog.ctron.com>
Sender: news@cs.man.ac.uk
Organization: Department of Computer Science, University of Manchester
Lines: 29
In-reply-to: smith@ctron.com's message of 10 Nov 92 17:51:08 GMT