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: 103376,ecc058d81d1613b5 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.180.79.228 with SMTP id m4mr7386683wix.7.1356686959272; Fri, 28 Dec 2012 01:29:19 -0800 (PST) Path: l12ni249582wiv.1!nntp.google.com!feeder3.cambriumusenet.nl!feed.tweaknews.nl!85.12.40.131.MISMATCH!xlned.com!feeder3.xlned.com!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Help on record to a Newbie Date: Fri, 28 Dec 2012 09:29:20 +0000 Organization: A noiseless patient Spider Message-ID: References: <8b12ba84-4753-4b57-b026-ab2bfb148a4a@googlegroups.com> Mime-Version: 1.0 Injection-Info: mx04.eternal-september.org; posting-host="78d2f773d15560df4dcd15bed77bebc3"; logging-data="3623"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/e0+tvoNBfUDY+HgxogD9wtt91b53en4E=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (darwin) Cancel-Lock: sha1:YiB+B1AtwErrYAePQmahg2gnZEk= sha1:hV2e2hVGRNfpZixVQyiiave8fGg= Content-Type: text/plain Date: 2012-12-28T09:29:20+00:00 List-Id: Cedric writes: > It is interesting to see that you also have a style that indicates > types. You mentioned the current Ada style. Can you send me a link to > the document you referenced? You're on the point of igniting a flame war here! Even the Ada language is inconsistent here: we don't say {Standard.}Integer_Type, but we do say {Ada.Text_IO.}File_Type. Personally I don't use _Type or _T, you know the name is that of a type from context (eg, in Foo : Bar; you know Bar is a type). I will admit that this sometimes requires more thought; it's easy to say Bar : Bar_T; But more thought is usually a Good Thing. The only "standard" style guide I know is the Ada 95 Quality and Style Guide[1]. There is an Ada 2005 update in the form of a wikibook[2]. [1] http://www.adaic.org/resources/add_content/docs/95style/95style.pdf [2] http://en.wikibooks.org/wiki/Ada_Style_Guide