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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,54889de51045a215 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-16 01:58:52 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.stueberl.de!fu-berlin.de!uni-berlin.de!adsl-213-200-246-247.cybernet.CH!not-for-mail From: Vinzent 'Gadget' Hoefler Newsgroups: comp.lang.ada Subject: Re: += in ada Date: Thu, 16 Oct 2003 10:57:46 +0200 Organization: JeLlyFish software Message-ID: References: <49cbf610.0310101231.2358762a@posting.google.com> <1066224357.499523@master.nyc.kbcfp.com> Reply-To: v.hoefler@acm.org NNTP-Posting-Host: adsl-213-200-246-247.cybernet.ch (213.200.246.247) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: news.uni-berlin.de 1066294731 25669546 213.200.246.247 (16 [175126]) X-Newsreader: Forte Agent 1.8/32.548 Xref: archiver1.google.com comp.lang.ada:958 Date: 2003-10-16T10:57:46+02:00 List-Id: Russ wrote: >Vinzent 'Gadget' Hoefler wrote in message = news:... >> Hyman Rosen wrote: > >> >Even in COBOL you could say "ADD A TO B." >>=20 >> You can already do it in Ada, too: >>=20 >> |Add (A, To =3D> B); > >When I see stuff like this, it offends my sense of elegance in >numerical programming. Well, I answered to a COBOL snippet, not to FORTRAN. :) >"If you have to ask, you don't get it." And I say, if you think "Add >(A, To =3D> B)" is as clean and clear as "B :+ A", you don't get it. Of course. :) I'll never understand why someone should write "B :+ A" instead of a more mathematical way "B :=3D + A"[0] or even the plain "B :=3D B + A". There's no need turning procedures into functions. Vinzent. [0] Yes, I would support such an approach. Not that I really needed it, but in case of complex expressions for the left hand side it might be useful indeed.