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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,35d52809fb2aac8f X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!b38g2000prf.googlegroups.com!not-for-mail From: Marco Newsgroups: comp.lang.ada Subject: Re: Naming convention to identify functions with side effects Date: Sat, 11 Oct 2008 04:32:33 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <5654ee5f-aa9f-4fff-87e0-45854b850f26@y38g2000hsy.googlegroups.com> <29ac62e1-78da-4048-ad95-8f88a29f7d31@z6g2000pre.googlegroups.com> <48e13f14$0$6610$9b4e6d93@newsspool3.arcor-online.net> NNTP-Posting-Host: 68.63.182.214 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1223724754 15325 127.0.0.1 (11 Oct 2008 11:32:34 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 11 Oct 2008 11:32:34 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: b38g2000prf.googlegroups.com; posting-host=68.63.182.214; posting-account=WITAxQkAAAAHjnLda9Lofpqp8mERTWL4 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.17) Gecko/20080829 Firefox/2.0.0.17,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:8047 Date: 2008-10-11T04:32:33-07:00 List-Id: On Oct 4, 6:05 am, "(see below)" wrote: > On 04/10/2008 13:30, in article > d49286ef-faa1-4b1b-8e23-0ed80c015...@p10g2000prf.googlegroups.com, "Marco" > > wrote: > > On Oct 3, 5:28 am, "Dmitry A. Kazakov" > > wrote: > >> Side-effects are bad in any subprograms, be them functions or procedures. > > > Technically "side-effects" are being used whenever you change an > > internal state in a module, which is not always undesired. > > These are not "side-effects", they are just effects. > The whole point of using computers is to cause changes of state. http://en.wikipedia.org/wiki/Side_effect_(computer_science) the functional programming folks would disagree with your "whole point"