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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2afac1a4161c7f35 X-Google-Attributes: gid103376,public From: Martin M Dowie Subject: Re: Distinguishing type names from other identifiers Date: 1998/01/27 Message-ID: #1/1 X-Deja-AN: 319750550 Distribution: world X-NNTP-Posting-Host: dowie-cs.demon.co.uk [193.237.34.207] References: <199801121523.QAA06527@basement.replay.com> <01bd2078$a449b460$41fd82c1@xhv46.dial.pipex.com> <6v0LMGAjwIw0Ews0@dowie-cs.demon.co.uk> MIME-Version: 1.0 Newsgroups: comp.lang.ada Date: 1998-01-27T00:00:00+00:00 List-Id: In article , Brian Rogoff writes >I believe I understand the arguments against suffixes on types, but it >seems you don't understand the arguments in favor of them. It has nothing >to do with a misguided notion of OO-ness or inertia. > >-- Brian Yup, i'll hold my hand up for that one - i was marked down for tautology in my (british) english exams at school and i've yet to see any reason why repeating that something is a type in its declaration should have any more merit when writing programs ;-) (i just remembered that the very first project i worked on, spent a week just after i joined removing '_p' and '_f' from procedure and function names - glad i wasn't paying the bill for all the effort!!). it does help emphasis the distinsion between a class and an instance/object (e.g. type A_Bank_Account v's My_Deeply_Overdrawn_Account) but i misguided you in indicating that that was *why* this convention was choosen (although it is mentioned in the coding standards as an example of how the distinctions between objects and classes can be emphasised) - i suspect the consultant who wrote the division's CoP had just read the same book you had. as i said, this is simply the standard at my current contract - just fishing for opionions. -- Martin M Dowie