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: Ted Dennison Subject: Re: ada writing guide Date: 2000/04/14 Message-ID: <8d7csd$gl1$1@nnrp1.deja.com>#1/1 X-Deja-AN: 611138226 References: <8d1rso$bir$2@bunyip.cc.uq.edu.au> <8d6jfu$f6b$1@bunyip.cc.uq.edu.au> X-Http-Proxy: 1.0 x36.deja.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Fri Apr 14 15:18:55 2000 GMT X-MyDeja-Info: XMYDJUIDtedennison Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.7 [en] (WinNT; I) Date: 2000-04-14T00:00:00+00:00 List-Id: In article <8d6jfu$f6b$1@bunyip.cc.uq.edu.au>, "Riyaz Mansoor" wrote: > > after reading a whole lot of replies (thanx) i have come to the > 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. just different formats that different people use. I'm curious exactly what this "strict code writing standard" for C you keep referring to is. There's "Hungarian notation", but that's not universally adhered to, and usually not rigidly when it is. And that just addresses identifier naming, not indentation. For instance, my vxWorks system uses at least 3 different naming styles for the C OS calls. Contrast that to the Ada world, where the issue of naming is really all-but decided (see the AQ&SG for an explanation). In fact, vxWorks even has some code that doesn't adhere to the convention of using ".h" for included files! If anything, I think you'll find that Ada code from different professionals looks much more similar that C code. There are some nitty disagreements, as this thread shows. But the small scope of those just shows how broad the agreement in the Ada community really is. The style guide I pointed to will clue you in on the basics of this style. -- T.E.D. http://www.telepath.com/~dennison/Ted/TED.html Sent via Deja.com http://www.deja.com/ Before you buy.