comp.lang.ada
 help / color / mirror / Atom feed
From: Ken Garlington <garlingtonke@lmtas.lmco.com>
Subject: Re: non key-words in xemacs to be upper case
Date: 1996/08/19
Date: 1996-08-19T00:00:00+00:00	[thread overview]
Message-ID: <3218214F.419D@lmtas.lmco.com> (raw)
In-Reply-To: dewar.840288018@schonberg


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"




  reply	other threads:[~1996-08-19  0:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-08-16  0:00 non key-words in xemacs to be upper case Frank.Bade
1996-08-16  0:00 ` David L Brown
1996-08-17  0:00   ` Robert Dewar
1996-08-19  0:00     ` Ken Garlington [this message]
1996-08-25  0:00       ` Robert Dewar
1996-08-25  0:00         ` Michael Feldman
1996-08-29  0:00         ` Charles Lindsey
1996-08-31  0:00           ` Robert Dewar
1996-09-01  0:00   ` Brian Rogoff
1996-08-17  0:00 ` j. doe
1996-08-19  0:00 ` David Wheeler
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox