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,791530e499e6a7f9 X-Google-Attributes: gid103376,public From: Ted Dennison Subject: Re: ada writing guide Date: 2000/04/17 Message-ID: <8dfesh$fl$1@nnrp1.deja.com>#1/1 X-Deja-AN: 612285917 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 x33.deja.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Mon Apr 17 16:41:57 2000 GMT X-MyDeja-Info: XMYDJUIDtedennison Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.7 [en] (WinNT; I) Date: 2000-04-17T00:00:00+00:00 List-Id: In article <8d82lq$4fp$1@hobbes2.crc.com>, "David C. Hoos, Sr." wrote: > > wrote in message > news:%wJJ4.740$%Y3.249597@news.pacbell.net... > > >understanding that ADA does not have strict code writing standard such as > > >the ANSI C standard. nobody has mentioned any standard for ADA code > writing. > > Do you mean preferred style, or language definition? The answers > > people have posted to your question have assumed you meant style, but > > of course there is no strict style standard for C (if you know of one, > > please tell us), so perhaps you meant language definition. If so, > > what you want is the Ada Language Reference Manual (LRM). Look for a > > link to it at www.adapower.com > > Have you ever looked at > http://www.delorie.com/gnu/docs/GNU/standards_toc.html > > This provides a coding stabndard for C, which could be considered "strict." > > Perhaps. But I'm hard-pressed to come up with any C program I've ever looked at that conforms to the following statement: Please use underscores to separate words in a name, so that the Emacs word commands can be useful within them. Stick to lower case; reserve upper case for macros and enum constants, and for name-prefixes that follow a uniform convention. This is completely antithetical to the "hungarian" notation that I find most commonly. The style used for old K&R C source ususally avoids underscores as well. -- T.E.D. http://www.telepath.com/~dennison/Ted/TED.html Sent via Deja.com http://www.deja.com/ Before you buy.