Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!news.linkpendium.com!news.linkpendium.com!news.iecc.com!.POSTED!nerds-end From: Andy Walker Newsgroups: comp.compilers Subject: Re: Is multi-level function return possible? Date: Wed, 26 Mar 2014 17:34:13 +0000 Organization: Not very much Lines: 17 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <14-03-062@comp.compilers> References: <14-03-020@comp.compilers> <14-03-022@comp.compilers> <14-03-025@comp.compilers> <14-03-030@comp.compilers> <14-03-044@comp.compilers> <14-03-046@comp.compilers> <14-03-047@comp.compilers> <14-03-048@comp.compilers> <14-03-053@comp.compilers> <14-03-057@comp.compilers> <14-03-061@comp.compilers> NNTP-Posting-Host: news.iecc.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: miucha.iecc.com 1395880903 14627 2001:470:1f07:1126:0:676f:7373:6970 (27 Mar 2014 00:41:43 GMT) X-Complaints-To: abuse@iecc.com NNTP-Posting-Date: Thu, 27 Mar 2014 00:41:43 +0000 (UTC) Keywords: C, history, comment Posted-Date: 26 Mar 2014 20:41:42 EDT X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com Xref: csiph.com comp.compilers:1184 On 26/03/14 12:16, the Moderator wrote: > [C was influenced by PL/I. C++ is where the Algol68 got mixed in, and some > of the C++ stuff was backported into C. -John] Dennis Ritchie, in "The Development of the C Language" [online at "http://cm.bell-labs.com/cm/cs/who/dmr/chist.pdf"] quotes three influences of PL/I: comments, file inclusion and the use of "pointer->member" even when "pointer" has the wrong type. OTOH, he quotes four influences of Algol 68: the notation for assignment operators, the scheme of type composition, unions and casts. Wiki also quotes him as saying "And yes, of course, "long".". Make of that what you will, but it all pre-dates C++. It is also getting away from debate about compilers .... -- Andy Walker, Nottingham. [I went back and reread the paper. You're right. -John]