From: "Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr>
Subject: Re: pragma Pure (Ada)
Date: Sun, 09 Oct 2011 00:54:28 +0200
Date: 2011-10-09T00:54:28+02:00 [thread overview]
Message-ID: <op.v211w2a2ule2fv@index.ici> (raw)
In-Reply-To: e75f7e2b-552b-4724-8c1a-a9face86d895@x25g2000prg.googlegroups.com
Le Sat, 08 Oct 2011 03:37:53 +0200, Adam Beneschan <adam@irvine.com> a
écrit:
> So a special rule had to be added to make the language *prefer* the
> "universal access" equality function over any other function.
>
> Hope this helps,
Yes Adam, that help, but raise another question: the choice of the
anonymous access type operator is surprising to me. Why was the choice of
the more specific operator rejected ? I guess this may be because the
anonymous access type may not always be a valid parameter for the more
specific redefined operator of the named access type (ex. different
storage pool), but the choice of the least specific operator, is
counterintuitive, and unintuitive things may lead to bad surprised and
unexpected behavior (an an error at compile time is always preferable to
an unexpected behavior).
--
“Syntactic sugar causes cancer of the semi-colons.” [Epigrams on
Programming — Alan J. — P. Yale University]
“Structured Programming supports the law of the excluded muddle.” [Idem]
Java: Write once, Never revisit
next prev parent reply other threads:[~2011-10-08 22:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-01 1:50 pragma Pure (Ada) Yannick Duchêne (Hibou57)
2011-10-01 2:11 ` Yannick Duchêne (Hibou57)
2011-10-08 1:37 ` Adam Beneschan
2011-10-08 22:54 ` Yannick Duchêne (Hibou57) [this message]
2011-10-09 6:34 ` Niklas Holsti
2011-10-10 15:06 ` Adam Beneschan
2011-10-01 2:28 ` Yannick Duchêne (Hibou57)
2011-10-08 1:08 ` Randy Brukardt
2011-10-08 23:00 ` Yannick Duchêne (Hibou57)
2011-10-01 3:09 ` Adam Beneschan
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox