comp.lang.ada
 help / color / mirror / Atom feed
* coding standard for ada95
@ 1998-06-09  0:00 Edmond Walsh
  1998-06-10  0:00 ` Tom Moran
  1998-06-10  0:00 ` John McCabe
  0 siblings, 2 replies; 4+ messages in thread
From: Edmond Walsh @ 1998-06-09  0:00 UTC (permalink / raw)



does anyone know of a source for a recomended ada95 coding standard?
-- 
Edmond Walsh




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: coding standard for ada95
  1998-06-09  0:00 coding standard for ada95 Edmond Walsh
@ 1998-06-10  0:00 ` Tom Moran
  1998-06-10  0:00 ` John McCabe
  1 sibling, 0 replies; 4+ messages in thread
From: Tom Moran @ 1998-06-10  0:00 UTC (permalink / raw)



>does anyone know of a source for a recomended ada95 coding standard?
Ada Quality and Style (available on the web, I believe) 
Also the Gnat folks like the style in their compiler, whose source you
can download and view.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: coding standard for ada95
  1998-06-09  0:00 coding standard for ada95 Edmond Walsh
  1998-06-10  0:00 ` Tom Moran
@ 1998-06-10  0:00 ` John McCabe
  1998-06-10  0:00   ` Markus Kuhn
  1 sibling, 1 reply; 4+ messages in thread
From: John McCabe @ 1998-06-10  0:00 UTC (permalink / raw)



The Quality and Style guide would be a good place to start.

I am not a fan of coding standards but then again in my experience they 
have been produced by QA guys who don't know much about the language and 
start putting restrictions on the use of certain features (e.g. tasking, 
generics) because at some point they heard they were not very efficient 
and so on. 

I would recommend that if you are going to produce a coding standard that 
you try to place as few restrictions as possible on language feature 
usage, and only then when you can justify the restrictions based on 
knowledge of the operating system and compiler you are using.

Also you may wish to define a format for the layout of the code. For 
specific projects I would recommend that you define a standard text 
editor which can be configured for use with the language in question. 
Emacs would be a prime example using ada-mode with a standard set of 
customisation options.

Hope this helps ;-)

-- 
Best Regards
John McCabe

=====================================================================
Not necessarily my company or service providers opinions.
=====================================================================






^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: coding standard for ada95
  1998-06-10  0:00 ` John McCabe
@ 1998-06-10  0:00   ` Markus Kuhn
  0 siblings, 0 replies; 4+ messages in thread
From: Markus Kuhn @ 1998-06-10  0:00 UTC (permalink / raw)



I think the "Ada 95 Quality and Style Guide" on

http://sw-eng.falls-church.va.us/adaic/docs/style-guide/95style/html/cover.html

is a very helpful document that I'd highly recommend every programmer
to have a look at. There are also downloadable versions on

http://sw-eng.falls-church.va.us/adaic/docs/style-guide/95style/

Markus

-- 
Markus G. Kuhn, Security Group, Computer Lab, Cambridge University, UK
email: mkuhn at acm.org,  home page: <http://www.cl.cam.ac.uk/~mgk25/>




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1998-06-10  0:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-06-09  0:00 coding standard for ada95 Edmond Walsh
1998-06-10  0:00 ` Tom Moran
1998-06-10  0:00 ` John McCabe
1998-06-10  0:00   ` Markus Kuhn

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