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,7eaf9f2597de2259 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-12 13:22:46 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!unlnews.unl.edu!newsfeed.ksu.edu!nntp.ksu.edu!news.okstate.edu!not-for-mail From: David Starner Newsgroups: comp.lang.ada Subject: Re: on package naming, should the word "_pkg" be part of it? Date: 12 Oct 2001 19:21:07 GMT Organization: Oklahoma State University Message-ID: <9q7fr3$7hu2@news.cis.okstate.edu> 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> Reply-To: dstarner98@aasaa.ofe.org NNTP-Posting-Host: x8b4e5435.dhcp.okstate.edu User-Agent: slrn/0.9.7.2 (Linux) Xref: archiver1.google.com comp.lang.ada:14434 Date: 2001-10-12T19:21:07+00:00 List-Id: 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. -- David Starner - dstarner98@aasaa.ofe.org Pointless website: http://dvdeug.dhis.org "I saw a daemon stare into my face, and an angel touch my breast; each one softly calls my name . . . the daemon scares me less." - "Disciple", Stuart Davis