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,c984a7f4a0ab0148 X-Google-Attributes: gid103376,public From: Ken Garlington Subject: Re: non key-words in xemacs to be upper case Date: 1996/08/19 Message-ID: <3218214F.419D@lmtas.lmco.com>#1/1 X-Deja-AN: 175091545 references: content-type: text/plain; charset=us-ascii organization: Lockheed Martin Tactical Aircraft Systems mime-version: 1.0 newsgroups: comp.lang.ada x-mailer: Mozilla 2.02 (Macintosh; I; 68K) Date: 1996-08-19T00:00:00+00:00 List-Id: Robert Dewar wrote: > > iDavid Brown says > > "> I am an ADA programmer and using xemacs 19.13. The ADA-Mode of the > > Xemacs formats the non key-words to the first character upper case > > and the rest lower case. Our S/W development bible tolds us to write > > those words completely upper case. Who can help me ?" > > I guess your software bible also tolds you to misspell poor old Ada's name > too right? Well, after all, Ada isn't a key-word, right? > You should wonder whether your software bible should be reconsidered. It is > borrowing an Ada 83 convention that by now is pretty universally considered > inappropriate. You might note that this all upper case style was never > explicitly recommended even for Ada 83, it was just implicitly recommended > by the examples in the RM. Here is a sample instantiation of the SPC's Ada 95 Quality & Style Guide: - Use lowercase for all reserved words (when used as reserved words) - Use mixed case for all other identifiers, a capital letter beginning every word separated by underscores - Use uppercase for abbreviations and acronyms (see automation notes) The guide does note, however, that people learning Ada may be better served by reading code where the reserved words are emphasized, and so a different convention may be useful when teaching Ada. -- LMTAS - "Our Brand Means Quality"