🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #6

The trouble with pointers.

#6
From: Edmund Ronald
Date: Tue, 27 Oct 1992 10:50
21 lines
1398 bytes
As Hoare once said: The pointer represents the greatest backwards step
taken in computer science. 
There is something very badly wrong with the C language in that even 
people who've used it over a matter of years do not understand its 
semantics. Of course, when they up and admit it (and their pprograms
bomb, or they cannot read other people's nice complex code), we tell them
that they're dumb. 
Folks, I've been programming for almost 20 years, and I don't mind 
admitting that often I cannot understand some ugly pointer construction.
And I'll gladly welcome any language feature that will deal with them
automatically.
Indeed, I think that one of the big "wins" of procedural OOP is that 
most of the usual pointer uses (passing record adresses and accessing
members) are hidden behind the syntactic sugar of instance variables,
while methods (ie. member functions) are used in lieu of pointers to
functions.

That was my rambling posting of the month-freedom of speech is not much
use unless you occasionnally speak.

Edmund.
Technical Details
Message-ID: <199210271050.AA08841@cnam.cnam.fr>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!uwm.edu!linac!att!ucbvax!CNAM.CNAM.FR!eronald

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!uwm.edu!linac!att!ucbvax!CNAM.CNAM.FR!eronald
From: eronald@CNAM.CNAM.FR (Edmund Ronald)
Newsgroups: comp.sys.next.programmer
Subject: The trouble with pointers.
Message-ID: <199210271050.AA08841@cnam.cnam.fr>
Date: 27 Oct 92 10:50:07 GMT
Sender: usenet@ucbvax.BERKELEY.EDU
Lines: 21