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-Thread: 103376,8f802583e5c84fa X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!dedekind.zen.co.uk!zen.net.uk!demorgan.zen.co.uk!194.72.9.35.MISMATCH!news-peer1!btnet-feed5!btnet!news.btopenworld.com!not-for-mail From: Martin Dowie Newsgroups: comp.lang.ada Subject: Re: String filtering Date: Sun, 2 Oct 2005 14:14:47 +0000 (UTC) Organization: BT Openworld Message-ID: References: <1j92wa9843ylq.16j89wuqatbaj$.dlg@40tude.net> <1b54lwg8s1gk8.1t3jp1cmc2x32$.dlg@40tude.net> <1128236249.692858.50370@g14g2000cwa.googlegroups.com> NNTP-Posting-Host: host86-131-222-95.range86-131.btcentralplus.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: nwrdmz02.dmz.ncs.ea.ibs-infra.bt.com 1128262487 9785 86.131.222.95 (2 Oct 2005 14:14:47 GMT) X-Complaints-To: news-complaints@lists.btinternet.com NNTP-Posting-Date: Sun, 2 Oct 2005 14:14:47 +0000 (UTC) In-Reply-To: <1128236249.692858.50370@g14g2000cwa.googlegroups.com> X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) Xref: g2news1.google.com comp.lang.ada:5341 Date: 2005-10-02T14:14:47+00:00 List-Id: Steve Whalen wrote: >>I'm an ARG member, and I agree with Randy here ... >>I have a feeling that more than 50% would allow 'out' parameters on functions, >>but the minority who disagree feel much more strongly about it. >>By the way, Tucker disagrees with Randy and I on this point. > > > I'm curious why you and Randy and others want "out" parameters to be > allowed in functions. Since I have great respect for you and Randy > (and Tucker), I'd like to hear more about why you all want this. > > I seem to have been brainwashed into thinking that functions with side > effects of any kind were a "bad thing", especially in a language like > Ada. I think that's part of the problem - function are allowed to have side effects in Ada already, so why not just allow 'in out' and allow side effects on parameters? If functions having side effects were /that/ bad why allow them at all? -- Martin