Article View: comp.lang.misc
Article #3834Re: Pointers
From: Stephen J Bevan
Date: Fri, 13 Nov 1992 09:23
Date: Fri, 13 Nov 1992 09:23
24 lines
1743 bytes
1743 bytes
In article <BxKvEy.Fnq@mentor.cc.purdue.edu> hrubin@mentor.cc.purdue.edu (Herman Rubin) writes: Let me repeat that I am assuming separate compilation, and only communication blocks to integrate the modules. The unit calling the function refilling the buffer knows only how to find the function identifier and enough of the buffer descriptor to use the buffer and to know how much is left in it. This has absolutely no bearing on the issue. [deleted] Now indirection (pointers) gives an easy way to do this. None of the critics of pointers have come up with anything not more clumsy in implementation. As has already been pointed out, any language that has procedures as first class types can do this without explicit pointers (Algol 68, Scheme and ML come to mind but there are plenty of others). If the implementation uses pointers, fine, however there is no need for me the user to have to deal with this. There is little point in me giving an example in any of these languages as I refuse to use two characters names and as such the code will probably be labelled "verbose" and unreadable by Herman. bevan
Technical Details
Message-ID:
<BEVAN.92Nov13092344@beluga.cs.man.ac.uk>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!mucs!m1!bevanReferences:
<mwm.2lp7@contessa.palo-alto.ca.us> <BxJzzv.4H7@mentor.cc.purdue.edu> <mwm.2lx7@contessa.palo-alto.ca.us> <BxKvEy.Fnq@mentor.cc.purdue.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!mucs!m1!bevan From: bevan@cs.man.ac.uk (Stephen J Bevan) Newsgroups: comp.lang.misc Subject: Re: Pointers Message-ID: <BEVAN.92Nov13092344@beluga.cs.man.ac.uk> Date: 13 Nov 92 09:23:44 GMT References: <mwm.2lp7@contessa.palo-alto.ca.us> <BxJzzv.4H7@mentor.cc.purdue.edu> <mwm.2lx7@contessa.palo-alto.ca.us> <BxKvEy.Fnq@mentor.cc.purdue.edu> Sender: newsman@cs.man.ac.uk Organization: Department of Computer Science, University of Manchester Lines: 24 In-reply-to: hrubin@mentor.cc.purdue.edu's message of 12 Nov 92 00:44:57 GMT