comp.lang.ada
 help / color / mirror / Atom feed
From: Shark8 <onewingedshark@gmail.com>
Subject: Re: design changes per Ada 2005/12?
Date: Thu, 21 Apr 2011 18:23:25 -0700 (PDT)
Date: 2011-04-21T18:23:25-07:00	[thread overview]
Message-ID: <7944976c-0f88-4b0d-921f-e6afac0be677@t16g2000vbi.googlegroups.com> (raw)
In-Reply-To: 49b85caa-700c-44c8-8a11-2f512083aca5@r6g2000vbz.googlegroups.com

On Apr 21, 8:10 pm, Lucretia <Lucretia9...@yahoo.co.uk> wrote:
> On Apr 22, 12:05 am, tmo...@acm.org wrote:
>
> > Randy,
> > A lot of Claw used/tested new Ada 95 features.  What would you *design*
> > differently with Ada 2005 or 2012?  (Not syntactic sugar).
>
> > Similar question to other folks.
>
> Interfaces if the FSF GNAT doesn't produce an ICE.
>
> Luke.
>
> P.S: The containers should've used interfaces!

Indeed they should have.
It really is too bad that they chose to emulate Java-style interfaces
rather than
Delphi-style interfaces; with Delphi's properties you can have a
'field' of an
object which can be calculated (a procedure or function) or a renaming
of an
internal field, for both reading and writing to the property. Read-
only and
write-only properties are also do-able.



  reply	other threads:[~2011-04-22  1:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-21 23:05 design changes per Ada 2005/12? tmoran
2011-04-22  1:10 ` Lucretia
2011-04-22  1:23   ` Shark8 [this message]
2011-04-23  0:41   ` Randy Brukardt
2011-04-23  6:44     ` Dmitry A. Kazakov
2011-04-23 21:27       ` Maciej Sobczak
2011-04-26 16:19     ` Lucretia
2011-04-26 23:12       ` Randy Brukardt
2011-04-23  0:36 ` Randy Brukardt
replies disabled

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