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, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,791530e499e6a7f9 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: ada writing guide Date: 2000/04/15 Message-ID: <8d9ok2$1o4$1@nnrp1.deja.com>#1/1 X-Deja-AN: 611490115 References: <8d6jfu$f6b$1@bunyip.cc.uq.edu.au> <%wJJ4.740$%Y3.249597@news.pacbell.net> <8d82lq$4fp$1@hobbes2.crc.com> X-Http-Proxy: 1.0 x43.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Sat Apr 15 12:51:16 2000 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.61 [en] (OS/2; I) Date: 2000-04-15T00:00:00+00:00 List-Id: In article <8d82lq$4fp$1@hobbes2.crc.com>, "David C. Hoos, Sr." wrote: > http://www.delorie.com/gnu/docs/GNU/standards_toc.html > > This provides a coding stabndard for C, which could be considered "strict." The most important word here is "a" as in "a" coding standard. That's the point, there are of course lots of local standards for writing code in any language (any big COBOL shop for example will have a detailed document specifying coding standards, and many Ada shops certainly have such documents [ACT certainly has a fairly comprehensive document of this type]. Yes, and of course such documents exist in C shops, the GNU project does indeed attempt (fairly successfully) to enforce a single consistent style. But this is a very different from having "the" standard coding style. Languages of course differ in their approach. Some languages try to leave little lattitude (e.g. in COBOL, the margins for entering text are fixed, and identifier casing is fixed etc). Most recent languages have completely free form syntax. Freedom is good and bad in this context, good because it does not mandate choices that are really not a necessary part of the standard, bad because it leads to inconsistencies. The Ada standard tried to steer a compromise course, of leaving freedom, but implying preferred choices. Sent via Deja.com http://www.deja.com/ Before you buy.