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,25d835bb9a4a003f X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!npeer03.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 Newsgroups: comp.lang.ada Subject: Re: Types, packages & objects : the good old naming conventions question (without religious ware) References: <561e0a4a-c6c0-42db-9f31-a70f4eae1ed9@a21g2000yqc.googlegroups.com> From: Stephen Leake Date: Sun, 01 Nov 2009 03:24:29 -0500 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (windows-nt) Cancel-Lock: sha1:XPdsKReymPfrg/nHxoW8oGT8/C0= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: a9da74aed45b3e197caa720134 Xref: g2news2.google.com comp.lang.ada:8931 Date: 2009-11-01T03:24:29-05:00 List-Id: Jacob Sparre Andersen writes: > tmoran@acm.org wrote: > >> Since you probably write variable names much more often in the code >> than the type name, it makes sense to try to shorten them, at the >> expense of slightly longer type names. > > Now I simply have to quote Preben Randhol: > > "Saving keystrokes is the job of the text editor, not the > programming language." Yes, but reading is also important. The _Type suffix is essentially noise when reading; it's only there for the compiler, not the human. So you want to read it as few times as possible, as well as write it as few times as possible. -- -- Stephe