From: Jeffrey Carter <jrcarter@acm.org>
Subject: Re: Ada to 'C' parameter passing problem
Date: Fri, 21 Feb 2003 17:39:59 GMT
Date: 2003-02-21T17:39:59+00:00 [thread overview]
Message-ID: <3E5664C0.30905@acm.org> (raw)
In-Reply-To: 3E55F70B.A254EAF@0.0
Stuart Palin wrote:
> Simon Wright wrote:
>
>>I recall Robert Dewar saying that he thought that restricting
>>functions to "in" (or access) parameters was a Bad Idea -- Ada is a
>>programming language, not a mathematical abstraction, and there is
>>nothing in Ada to stop a function modifying global state. (Praise be,
>>say I). But Robert got outvoted during the Ada 9X process.
>
> [RD does not usually make unconsidered statements, so I
> would be interested in reading his line of arguments. Is it
> available somewhere convenient?]
I'm sure it is; have you tried a search on Google groups? I think I can
restate RD's basic argument: Functions already allow side effects, just
not explicit side effects on their parameters. Disallowing them is an
unnecessary impediment to developers and makes interfacing to other
languages more difficult than is necessary; allowing them would make
some side effects more visible.
--
Jeff Carter
"If you don't get the President of the United States on that
phone, ... you're going to have to answer to the Coca-Cola
Company."
Dr. Strangelove
next prev parent reply other threads:[~2003-02-21 17:39 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-18 15:39 Ada to 'C' parameter passing problem Patrick
2003-02-18 16:47 ` Jeffrey Carter
2003-02-18 19:50 ` Rod Chapman
2003-02-20 2:36 ` Matthew Heaney
2003-02-20 9:18 ` Rod Chapman
2003-02-20 9:43 ` Dmitry A. Kazakov
2003-02-20 22:05 ` Simon Wright
2003-02-21 9:53 ` Stuart Palin
2003-02-21 17:39 ` Jeffrey Carter [this message]
2003-02-21 18:12 ` Warren W. Gay VE3WWG
2003-02-21 20:25 ` Randy Brukardt
2003-02-24 23:53 ` Matthew Heaney
2003-02-25 17:21 ` Rod Chapman
-- strict thread matches above, loose matches on Subject: below --
2003-02-21 16:52 Lionel.DRAGHI
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox