From: "Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr>
Subject: Re: List of Negative Language rules?
Date: Sun, 05 Aug 2012 18:33:07 +0200
Date: 2012-08-05T18:33:07+02:00 [thread overview]
Message-ID: <op.wiktlhg3ule2fv@douda-yannick> (raw)
In-Reply-To: e6963165-d99c-4b35-be88-b9f7aa8d5f4a@googlegroups.com
Le Sun, 05 Aug 2012 16:39:42 +0200, Patrick
<patrick@spellingbeewinnars.org> a écrit:
> This post is not a complaint and I hope it won't generate complaints
> about the language, it is a request for help in organizing language
> constructs.
>
> Ada is a feature rich language but as we know it is neither trivial to
> learn or even more so, trivial to write a compiler for.
>
> One thing I am having a hard time with are all the negative rules. I am
> NOT complaining about any of these but some very simple examples:
>
> Pre-Ada 2012 functions cannot take in parameters
Or the other way: Post-Ada 2005 functions can get out parameters. That
would be less an issue if they was a way to remind at call places, what
the status of a parameter is. There use to be some proposals at
comp.lang.ada, but none reached the formal proposal process. Prior to Ada
2012, looking at a function invocation, you were rather sure parameters
were not modified, except indirectly if you passed it a access to
something, and this certainty existed only for functions, now it's gone
and that's now less easy to trust what you see.
P.S. You've made a typo in your sentence. You probably wanted to say
“Pre-Ada 2012 functions cannot take out parameters”
--
“Syntactic sugar causes cancer of the semi-colons.” [1]
“Structured Programming supports the law of the excluded muddle.” [1]
[1]: Epigrams on Programming — Alan J. — P. Yale University
next prev parent reply other threads:[~2012-08-05 16:33 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-05 14:39 List of Negative Language rules? Patrick
2012-08-05 15:24 ` Bill Findlay
2012-08-05 15:43 ` Patrick
2012-08-05 19:17 ` Niklas Holsti
2012-08-05 16:02 ` Nasser M. Abbasi
2012-08-05 16:14 ` Patrick
2012-08-06 2:56 ` Randy Brukardt
2012-08-05 16:33 ` Yannick Duchêne (Hibou57) [this message]
2012-08-05 17:10 ` Patrick
2012-08-05 18:07 ` Vasiliy Molostov
[not found] ` <p6ft18dvj55o0h1j3af7ic08f2omoc1j20@invalid.netcom.com>
2012-08-05 19:25 ` Niklas Holsti
2012-08-05 23:35 ` Patrick
2012-08-06 0:07 ` Vasiliy Molostov
2012-08-06 0:26 ` Patrick
2012-08-06 1:04 ` Vasiliy Molostov
2012-08-06 1:33 ` Patrick
2012-08-06 2:57 ` Randy Brukardt
2012-08-06 3:21 ` Patrick
2012-08-09 21:24 ` Randy Brukardt
2012-08-09 22:00 ` Patrick
2012-08-06 2:51 ` 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