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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,24d7acf9b853aac8 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!87.79.20.105.MISMATCH!news.netcologne.de!ramfeed1.netcologne.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: S-expression I/O in Ada Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <547afa6b-731e-475f-a7f2-eaefefb25861@k8g2000prh.googlegroups.com> <46866b8yq8nn$.151lqiwa0y2k6.dlg@40tude.net> <13b07f2c-2f35-43e0-83c5-1b572c65d323@y11g2000yqm.googlegroups.com> <13tpf7ya3evig$.h05p3x08059s$.dlg@40tude.net> <1omt2srxtpsga$.c3hbxthzo6cf.dlg@40tude.net> <1e4cch2df5uyb.18brqdd16dhv8.dlg@40tude.net> <14y70ke8am9qw$.2csc9eflvigg.dlg@40tude.net> <4c601b5c$0$7665$9b4e6d93@newsspool1.arcor-online.net> <9czktq4ntzq7.fhbsnocx0x4w$.dlg@40tude.net> <4c6030e3$0$7659$9b4e6d93@newsspool1.arcor-online.net> <1lnii9xhuibax$.1a88c1xje8p09.dlg@40tude.net> <4c607f77$0$7658$9b4e6d93@newsspool1.arcor-online.net> Date: Tue, 10 Aug 2010 09:07:03 +0200 Message-ID: NNTP-Posting-Date: 10 Aug 2010 09:07:03 CEST NNTP-Posting-Host: 7f53b62b.newsspool4.arcor-online.net X-Trace: DXC=U9_JX=Ol]Mb]BlmkiiU@Bi4IUKP8mlJl X-Complaints-To: usenet-abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:13035 Date: 2010-08-10T09:07:03+02:00 List-Id: On Tue, 10 Aug 2010 00:21:46 +0200, Georg Bauhaus wrote: > Dmitry A. Kazakov wrote: >> there is only one right way. > > (There is one right way per person. Some agree on the right way. > Even those who believe(!) in the one right way don't know(!) > for sure ... ;-) It is the purpose of science to find the right way. No, it wondered so many, why is there only one mathematics, a product of pure imagination? But it is out of comp.lang.ada scope. >> ["+"] is broken in C because it contradicts to the >> mathematical meaning of. > > The mathematical meaning of "+" is ambiguous or context dependent. It is exact in each context. C's authors didn't mean matrix addition when they designed +. > It depends on the definitions of "+" etc. Meaning depends on definitions? There must be something wrong in this sentence... > > So what do you propose? To keep it broken? Because >> people better understand broken stuff? They don't. > > Use operator symbols that clearly separate: > > - traditional mathematical addition > - computer addition I don't know what computer addition is. Computer does not count. Computer *models* counting. Function "+" is a model of what? > int f() {} > int (*g)() = f + 4; > int main() > { > return g(); > } I have no problem with this. They don't model integers here. They do software faults. As such + perfectly serves the purpose. (:-)) -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de