From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Access parameters and accessibility
Date: Tue, 16 Dec 2014 11:00:48 +0100
Date: 2014-12-16T11:00:48+01:00 [thread overview]
Message-ID: <1pobv228egi9l.id56vnyzehg7$.dlg@40tude.net> (raw)
In-Reply-To: slrnm8vtl1.nrc.lithiumcat@nat.rebma.instinctive.eu
On Tue, 16 Dec 2014 09:08:40 +0000 (UTC), Natasha Kerensikova wrote:
> On 2014-12-16, Randy Brukardt <randy@rrsoftware.com> wrote:
>> Anonymous access parameters: just say no!!
>
> I still believe a case could be made for anonymous access to subprogram
> parameters.
There should never have been such thing. Subprograms should have been an
in-parameter (90% of cases) or else a named access type (10% of cases).
Others already said that anonymous access was an workaround. There is the
list of issues it deals with:
1. lack of in-out parameters of functions
2. missing downward closures (subprograms as in-parameters)
3. unwillingness to implement full multiple inheritance (so mix-ins)
4. broken object construction (so the Rosen's trick to re-dispatch and also
for #2)
5. non-tagged task and PO types (so, aggregation + an access to the
container as a discriminant)
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
next prev parent reply other threads:[~2014-12-16 10:00 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-15 16:52 Access parameters and accessibility Michael B.
2014-12-15 17:54 ` Dmitry A. Kazakov
2014-12-15 18:48 ` Jeffrey Carter
2014-12-15 20:23 ` Michael B.
2014-12-15 21:02 ` Dmitry A. Kazakov
2014-12-16 1:10 ` sbelmont700
2014-12-16 13:57 ` Michael B.
2014-12-16 14:12 ` Georg Bauhaus
2014-12-16 21:34 ` sbelmont700
2014-12-17 14:30 ` Michael B.
2014-12-17 15:41 ` sbelmont700
2014-12-18 17:48 ` Michael B.
2014-12-17 16:03 ` Adam Beneschan
2014-12-18 16:07 ` Michael B.
2014-12-16 7:45 ` Randy Brukardt
2014-12-16 8:48 ` Stefan.Lucks
2014-12-16 20:47 ` Randy Brukardt
2014-12-16 21:24 ` Georg Bauhaus
2014-12-16 9:08 ` Natasha Kerensikova
2014-12-16 10:00 ` Dmitry A. Kazakov [this message]
2014-12-16 14:57 ` Robert A Duff
2014-12-16 19:46 ` Michael B.
2014-12-16 20:59 ` Randy Brukardt
2014-12-17 7:02 ` Natasha Kerensikova
2014-12-17 8:28 ` Dmitry A. Kazakov
2014-12-17 9:06 ` Natasha Kerensikova
2014-12-17 22:58 ` Randy Brukardt
2014-12-17 22:25 ` Randy Brukardt
2014-12-18 0:47 ` Shark8
2014-12-17 2:02 ` Adam Beneschan
2014-12-17 23:18 ` Randy Brukardt
2014-12-18 0:56 ` Robert A Duff
2014-12-18 1:17 ` Randy Brukardt
2014-12-18 5:29 ` Shark8
2014-12-18 23:12 ` Randy Brukardt
2014-12-18 8:27 ` Dmitry A. Kazakov
2014-12-18 21:20 ` Randy Brukardt
2014-12-19 12:16 ` Michael B.
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox