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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7eaf9f2597de2259 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-12 20:21:31 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!sn-xit-01!supernews.com!newshub2.rdc1.sfba.home.com!news.home.com!news1.rdc1.sfba.home.com.POSTED!not-for-mail Message-ID: <3BC7B36B.F3BDE8D7@home.com> From: Mark Biggar X-Mailer: Mozilla 4.78 [en]C-{C-UDP; EBM-SONY1} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: on package naming, should the word "_pkg" be part of it? References: <9q25ec0248o@drn.newsguy.com> <9q421v0bbg@drn.newsguy.com> <9q4a37$npd$1@nh.pace.co.uk> <9q4e59018lm@drn.newsguy.com> <20011011191946.K11745-100000@shell5.ba.best.com> <9q7fr3$7hu2@news.cis.okstate.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sat, 13 Oct 2001 03:21:31 GMT NNTP-Posting-Host: 24.250.143.171 X-Complaints-To: abuse@home.net X-Trace: news1.rdc1.sfba.home.com 1002943291 24.250.143.171 (Fri, 12 Oct 2001 20:21:31 PDT) NNTP-Posting-Date: Fri, 12 Oct 2001 20:21:31 PDT Organization: Excite@Home - The Leader in Broadband http://home.com/faster Xref: archiver1.google.com comp.lang.ada:14446 Date: 2001-10-13T03:21:31+00:00 List-Id: David Starner wrote: > > On Fri, 12 Oct 2001 08:45:21, Preben Randhol wrote: > > Because reading: > > > > Counter +:= 1; > > Product *:= 5; > > > > is less clear than > > > > Counter := Counter + 1; > > Product := Product * 5; > > How about: > > Counter (SCSU_Element (Active_Windows (Current_Item - Previous_Item)) > + 16#80#) +:= 1; > > versus > > Counter (SCSU_Element (Active_Windows (Current_Item - Previous_Item)) > + 16#80#) := > Counter (SCSU_Element (Active_Windows (Current_Item - Previous_Item)) > + 16#80#) + 1; > > ? Clarity is one of the real arguments for this syntax, so that you > don't make a mistake retyping the element on the left in these > situations, and so it's easy to tell on reading that the left part is the > same as the right part. declare ctr: counter_type renames Counter (SCSU_Element (Active_Windows (Current_Item - Previous_Item)) + 16#80#); begin ctr := ctr + 1; end; -- Mark Biggar mark.a.biggar@home.com