From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a00006d3c4735d70 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-01-09 19:44:42 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: aek@vib.usr.pu.ru (Alexander Kopilovitch) Newsgroups: comp.lang.ada Subject: Re: Certified C compilers for safety-critical embedded systems Date: 9 Jan 2004 19:44:41 -0800 Organization: http://groups.google.com Message-ID: References: NNTP-Posting-Host: 213.33.245.64 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1073706282 22369 127.0.0.1 (10 Jan 2004 03:44:42 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 10 Jan 2004 03:44:42 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:4292 Date: 2004-01-09T19:44:41-08:00 List-Id: Robert A Duff wrote: > >... The main association for notion > > of function is presence of explicit single result. > > True, although there are a few languages that allow functions to return > multiple results. Yes, but those "functions" from one side somehow mimic mathematical "vector-functions" (note that there may be not true vectors, consisting of homogeneous components, but a tuple of, say, spherical coordinates instead) and from other side the multi-component result of such a "function" is usually considered as single entity in some "virtual" or short-lived sense. > > So try "subprogram" as that single name, and perhaps you'll see the result > > better then if you imagine "procedure" there. > > I don't much like the term "subprogram". I'm not sure I can explain > why. Perhaps because the term "subprogram" is not inherently associated with ordered execution (just like a "program")... at least that association is much weaker for it, comparing with "procedure". Alexander Kopilovitch aek@vib.usr.pu.ru Saint-Petersburg Russia