🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sw.components
Article #122

Reference counting ADT's

#122
From: Ted Dunning
Date: Sat, 23 Sep 1989 04:58
19 lines
1276 bytes
one thing that all of the c++ programmers will know by heart, but most
of the ada programmers may not have thought of is that one of the most
common ways for a reference to an adt to be destroyed is by
overwriting due to assignment.

of course, handling this is simple if you can overload assignment.
likewise, if you can outlaw assignment, then the second best solution
of naming it something else is possible.

but where does this leave ada?  no overloading or forbidding
assignment leaves the writer of a reliable reference counting adt in a
real pickle.
--
ted@nmsu.edu
			Most of all, he loved the fall
			when the cottonwoods leaves turned gold
			and floated down the trout streams
			under the clear blue windswept skies.
Technical Details
Message-ID: <TED.89Sep22225829@kythera.nmsu.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!sun-barr!apple!rutgers!cmcl2!lanl!opus!ted
References: <900@scaup.cl.cam.ac.uk> <6530@hubcap.clemson.edu> <11885@polya.Stanford.EDU> <282@alfred.Teknowledge.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!sun-barr!apple!rutgers!cmcl2!lanl!opus!ted
From: ted@nmsu.edu (Ted Dunning)
Newsgroups: comp.sw.components
Subject: Reference counting ADT's
Message-ID: <TED.89Sep22225829@kythera.nmsu.edu>
Date: 23 Sep 89 04:58:29 GMT
References: <900@scaup.cl.cam.ac.uk> <6530@hubcap.clemson.edu> <11885@polya.Stanford.EDU> <282@alfred.Teknowledge.COM>
Sender: news@nmsu.edu
Organization: NMSU Computer Science
Lines: 19
In-reply-to: mwolf@Teknowledge.COM's message of 22 Sep 89 00:26:16 GMT