comp.lang.ada
 help / color / mirror / Atom feed
From: Jere <jhb.chat@gmail.com>
Subject: Re: Return by reference
Date: Mon, 18 Dec 2017 17:29:55 -0800 (PST)
Date: 2017-12-18T17:29:55-08:00	[thread overview]
Message-ID: <15a736cf-a981-4905-8f1a-837441cd60fe@googlegroups.com> (raw)
In-Reply-To: <p19fne$jr1$1@franka.jacob-sparre.dk>

On Monday, December 18, 2017 at 5:33:20 PM UTC-5, Randy Brukardt wrote:
> "Jere"  wrote in message 
> ...
> > I was wondering if Ada could take a step with it further
> > and provide a syntax for return by reference.
> 
> No. It doesn't semantically make sense as a stand-alone concept. We tried a 
> whole bunch of ideas on that line before giving up and adopting the implicit 
> dereference mechanism.
> 
>                            Randy.

And I think it was a good choice.  I was just seeing if there was a way that
the language could further increase the safety of the mechanism by fully
hiding the access type and making it more integrated into the language. It's
a fairly young feature of the language, so I was just seeing if that was
plausible.

  reply	other threads:[~2017-12-19  1:29 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-17 14:38 Return by reference Jere
2017-12-17 14:57 ` Dmitry A. Kazakov
2017-12-18  0:51   ` Mehdi Saada
2017-12-18  8:18     ` Dmitry A. Kazakov
2017-12-18 10:47       ` Mehdi Saada
2017-12-18 12:16         ` Dmitry A. Kazakov
2017-12-18 22:41     ` Randy Brukardt
2017-12-18 22:33 ` Randy Brukardt
2017-12-19  1:29   ` Jere [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-11-01  0:00 Brian Rogoff
1999-11-02  0:00 ` Robert A Duff
1999-11-02  0:00   ` Brian Rogoff
1999-11-03  0:00     ` Matthew Heaney
1999-11-03  0:00       ` Matthew Heaney
1999-11-03  0:00       ` Brian Rogoff
1999-11-03  0:00     ` Lutz Donnerhacke
1999-11-03  0:00       ` Brian Rogoff
1999-11-04  0:00         ` Lutz Donnerhacke
1999-11-06  0:00           ` Brian Rogoff
1999-11-07  0:00             ` Lutz Donnerhacke
1999-11-04  0:00       ` Robert A Duff
1999-11-02  0:00 ` Lutz Donnerhacke
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox