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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,d89b829a7e0c6c44 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.vmunix.org!peer-uk.news.demon.net!kibo.news.demon.net!mutlu.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: GNAT-2005 Date: Wed, 15 Nov 2006 22:57:33 +0000 Organization: Pushface Message-ID: References: <1163141479.498169.10580@b28g2000cwb.googlegroups.com> <1163177802.563194.164270@h54g2000cwb.googlegroups.com> <1198984.tjZffbbRqh@linux1.krischik.com> <45596D52.2020709@obry.net> NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.demon.co.uk 1163631453 5524 62.49.19.209 (15 Nov 2006 22:57:33 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Wed, 15 Nov 2006 22:57:33 +0000 (UTC) Cancel-Lock: sha1:Wzmy+DcVGv8UWdxKKe9osoXFydA= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) Xref: g2news2.google.com comp.lang.ada:7479 Date: 2006-11-15T22:57:33+00:00 List-Id: Pascal Obry writes: > Simon Wright a �crit : >> I've just spotted -gnatyu -- check no unneccessary blank lines -- >> now there's something to have a style war about! > > Well we can like or dislike this kind of rules, no problem. The > important point to me is to ensure that an application code is > uniform whatever the style chosen. This way all developers feel > comfortable with all part of the application. And no code belongs to > a single developer. I completely agree about uniformity. We chose to compile with -gnaty for exactly this reason. I think the thing that annoys me most is a developer who doesn't have a consistent style at all; indentation all over the shop, FunkyCaps on one line, lower_Case on the next ... Personally I find that blank lines are good within a non-tiny subprogram, and then _double_ blank lines between subprograms (which this style check forbids). So I'm glad that -gnatyu is not part of the default set picked up by -gnaty. There was a lot to be said for the old Rational Environment, where the developer had hardly any control over the layout. Is Apex the same?