comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: GNAT-2005
Date: Wed, 15 Nov 2006 22:57:33 +0000
Date: 2006-11-15T22:57:33+00:00	[thread overview]
Message-ID: <m2zmasb9nm.fsf@grendel.local> (raw)
In-Reply-To: 45596D52.2020709@obry.net

Pascal Obry <pascal@obry.net> 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?



  reply	other threads:[~2006-11-15 22:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-10  6:51 GNAT-2005 rashmi
2006-11-10 10:52 ` GNAT-2005 Georg Bauhaus
2006-11-10 13:37 ` GNAT-2005 Stephen Leake
2006-11-10 16:56   ` GNAT-2005 Adam Beneschan
2006-11-12 18:55     ` GNAT-2005 Martin Krischik
2006-11-13 20:35       ` GNAT-2005 Simon Wright
2006-11-13 22:12         ` GNAT-2005 Jean-Pierre Rosen
2006-11-13 22:25         ` GNAT-2005 Georg Bauhaus
2006-11-13 23:41         ` GNAT-2005 Björn Persson
2006-11-14  7:16         ` GNAT-2005 Pascal Obry
2006-11-15 22:57           ` Simon Wright [this message]
2006-11-10 15:13 ` GNAT-2005 Wilhelm Spickermann
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox