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: a07f3367d7,fd4fc3d2b22df500 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.180.79.228 with SMTP id m4mr2467657wix.7.1357876442081; Thu, 10 Jan 2013 19:54:02 -0800 (PST) Path: o9ni5955wio.1!nntp.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!85.12.40.130.MISMATCH!xlned.com!feeder1.xlned.com!border2.nntp.ams.giganews.com!border2.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nrc-news.nrc.ca!News.Dal.Ca!news.litech.org!news.glorb.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: On Style: Any opinions on *not* capitalising the first letter of verbs in a procedure name ? Date: Sat, 05 Jan 2013 09:06:47 -0500 Message-ID: <8538yfg1vs.fsf@stephe-leake.org> References: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (windows-nt) MIME-Version: 1.0 Cancel-Lock: sha1:sFCZ0RBbPqJ8ROrdEeOmriqZFaM= X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: 0260950e87201e029e66108724 X-Received-Bytes: 1520 Content-Type: text/plain Date: 2013-01-05T09:06:47-05:00 List-Id: Rod Kay writes: > declare > package Integer_Vectors is new Ada.Containers.Vectors (Positive, Integer); > > Integers : Integer_Vectors.Vector; > begin > Integers.reserve_Capacity; > Integers.clear; > end; > > > The idea is to only capitalise the noun parts of the procedure > name. It's a minor thing I guess, yet I find code a little easier > to read when used. > > So any thoughts ? ... good, bad or ugly ? If you can teach Emacs and/or GPS to do this automatically, it might be useful. (It would be a big job; you'd need a good dictionary or something similar). Otherwise, it's a non-starter; it's too small an issue to spend time/brain power on. -- -- Stephe