From: dennison@telepath.com
Subject: Re: pointers & OOP
Date: 1999/05/07
Date: 1999-05-07T00:00:00+00:00 [thread overview]
Message-ID: <7gv765$ioc$1@nnrp1.deja.com> (raw)
In-Reply-To: 3731fa3d.12295232@news.pacbell.net
In article <3731fa3d.12295232@news.pacbell.net>,
tmoran@bix.com (Tom Moran) wrote:
> >Use parent-child structuring. Internal_Updating is a protected
> >operation. I would still consider this to be a one to one mapping,
> >although I don't use parent-child packages unless I have to.
> If you'll allow child packages as "separate packages" it certainly
> makes "1-1 packages/classes" a lot less draconian. OTOH, suppose you
> really wanted procedure Internal_Updating to be visible to Son and
> Daughter but *absolutely not* to any other package masquerading as
> Parent.Prodigal_Son. Then you'd be forced to put Son and Daughter
> inside the same package as Root (unless you went to a lot of trouble
> with "doorman" routines).
That still doesn't protect against Parent.Prodigal_Son, unless you also put
that common routine in the package body.
--
T.E.D.
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
next prev parent reply other threads:[~1999-05-07 0:00 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-05-01 0:00 pointers & OOP Matthew Heaney
1999-05-01 0:00 ` Matthew Heaney
1999-05-03 0:00 ` John Robinson
1999-05-03 0:00 ` Samuel Mize
1999-05-04 0:00 ` Martin C. Carlisle
1999-05-04 0:00 ` Robert Dewar
1999-05-04 0:00 ` Robert Dewar
1999-05-04 0:00 ` Mike Silva
1999-05-05 0:00 ` John Robinson
1999-05-05 0:00 ` Matthew Heaney
1999-05-05 0:00 ` Robert Dewar
1999-05-05 0:00 ` John Robinson
1999-05-06 0:00 ` Brian Rogoff
1999-05-07 0:00 ` dennison
1999-05-07 0:00 ` Brian Rogoff
1999-05-10 0:00 ` dennison
1999-05-11 0:00 ` Jean-Pierre Rosen
1999-05-11 0:00 ` dennison
1999-05-10 0:00 ` John Robinson
1999-05-14 0:00 ` Matthew Heaney
1999-05-14 0:00 ` David Botton
1999-05-14 0:00 ` Matthew Heaney
1999-05-14 0:00 ` Ed Falis
1999-05-05 0:00 ` Robert Dewar
1999-05-08 0:00 ` Ehud Lamm
1999-05-06 0:00 ` Simon Wright
1999-05-06 0:00 ` John Robinson
1999-05-08 0:00 ` Simon Wright
1999-05-10 0:00 ` John Robinson
1999-05-06 0:00 ` Tom Moran
1999-05-06 0:00 ` John Robinson
1999-05-06 0:00 ` Tom Moran
1999-05-07 0:00 ` dennison
1999-05-07 0:00 ` dennison [this message]
1999-05-07 0:00 ` dennison
1999-05-10 0:00 ` John Robinson
1999-05-14 0:00 ` Matthew Heaney
1999-05-05 0:00 ` Francois Godme
-- strict thread matches above, loose matches on Subject: below --
1999-05-01 0:00 Tom Moran
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox