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,99e73f65ea2533b9 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!newspeer.monmouth.com!newsswitch.lcs.mit.edu!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: and then... (a curiosity) Date: Tue, 02 Sep 2008 17:08:41 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <18b41828-bda4-4484-8884-ad62ce1c831d@f36g2000hsa.googlegroups.com> <57qdnfULQ9tzKCHVnZ2dnUVZ_tHinZ2d@comcast.com> <48bd0003$1@news.post.ch> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls6.std.com 1220389721 16079 192.74.137.71 (2 Sep 2008 21:08:41 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Tue, 2 Sep 2008 21:08:41 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:EM02gvBXJ4imUBCwxe/Yrm7T0bQ= Xref: g2news1.google.com comp.lang.ada:1881 X-Original-Bytes: 2126 Date: 2008-09-02T17:08:41-04:00 List-Id: "Jeffrey R. Carter" writes: > Robert A Duff wrote: >> At AdaCore, we always say "and then", never "and". I don't like that >> style (but of course I obey it, because obeying coding conventions is a >> good thing in itself). > > I've noticed that. What is the justification for it? I presume that, > being compiler writers, AdaCore has some specialized knowledge that led > them to make that choice. No, as far as I know (being fairly new to AdaCore), there's no specialized compiler knowledge that led to that choice. It's just a style choice. Programmers on the project agreed that "and then"-always is the best idea stylistically, and now that's just the way it's done. - Bob