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-30 09:39:11 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!cs.tu-berlin.de!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: In-Out Parameters for functions Date: Fri, 30 Jan 2004 17:39:11 +0000 (UTC) Organization: GMUGHDU Message-ID: References: <1075225041.167448@master.nyc.kbcfp.com> <1075303237.975898@master.nyc.kbcfp.com> <9khh10pti0dn8gcp7f18ghptaifluj0fud@4ax.com> <1075390647.405841@master.nyc.kbcfp.com> <1075405582.982776@master.nyc.kbcfp.com> <1075412213.447946@master.nyc.kbcfp.com> NNTP-Posting-Host: l1-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 1075484351 14028 134.91.1.34 (30 Jan 2004 17:39:11 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Fri, 30 Jan 2004 17:39:11 +0000 (UTC) User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (HP-UX/B.11.00 (9000/800)) Xref: archiver1.google.com comp.lang.ada:5107 Date: 2004-01-30T17:39:11+00:00 List-Id: Hyman Rosen wrote: : Georg Bauhaus wrote: :> True, however in general, i.e. in the presence of global state, :> a _programmer_ cannot know what the results of evaluating :> expressions in order will be. A reason is complexity of the :> required reasoning, in particular in the presense of tasking. : : What a puzzling statement! If a programmer cannt reason about : c := f1 + f2; : even knowing that f1 and f2 will be called left-to-right, how : can he reason about : a := f1; : b := f2; : c := a + b; He can't. Order won't help unless you assume that order eases predicting the current global state and how it interacts with f1 and f2 (or f2 and f1). Thus order might help in some circumstances, however I don't see the really big help it offers.