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,d275ffeffdf83655 X-Google-Attributes: gid103376,public From: dennison@telepath.com Subject: Re: Ada vs C++ vs Java Date: 1999/01/20 Message-ID: <785fo3$thj$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 434913608 References: <369C1F31.AE5AF7EF@concentric.net> <369DDDC3.FDE09999@sea.ericsson.se> <369e309a.32671759@news.demon.co.uk> <369F1D39.64A65BC1@sea.ericsson.se> <369f81a9.31040093@news.demon.co.uk> <77ommt$9bo$1@nnrp1.dejanews.com> <77vhjf$nn9$1@nnrp1.dejanews.com> <77vld9$qvg$1@nnrp1.dejanews.com> <782rp0$kn6$1@nnrp1.dejanews.com> <6Oap2.16170$MW1.4028@news2.giganews.com> <783nnb$s9c@drn.newsguy.com> <784qvi$a0a$1@nnrp1.dejanews.com> <78549k$iqv$1@nnrp1.dejanews.com> X-Http-Proxy: 1.0 x4.dejanews.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Wed Jan 20 20:53:27 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.5 [en] (WinNT; I) Date: 1999-01-20T00:00:00+00:00 List-Id: In article <78549k$iqv$1@nnrp1.dejanews.com>, robert_dewar@my-dejanews.com wrote: > In article <784qvi$a0a$1@nnrp1.dejanews.com>, > The GNAT style rules are as follows, and yes everyone > at ACT follows them: > > function x (y : integer) return Boolean is > ... declarations > begin > ... statements > end x; > > Above is used if it fits on one line ^^^^^^^^^^^^^^^^^^^^^^ Good rule. > > function x > (Hello : Integer; > Goodbye : Integer) > return Integer I do have to admit, I see no reason why following this guideline should be a big problem for anyone (except perhaps the leading ';' devotees). I would have a tough time at first not lining up the ':'s. I'm pretty used to the implicit "in"s being supplied too. T.E.D. -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own