comp.lang.ada
 help / color / mirror / Atom feed
From: "Alex R. Mosteo" <devnull@mailinator.com>
Subject: Re: Learning Ada but missing the basics?
Date: Thu, 03 Jul 2008 10:09:56 +0200
Date: 2008-07-03T10:09:56+02:00	[thread overview]
Message-ID: <6d3fq7Fk0g0U1@mid.individual.net> (raw)
In-Reply-To: 486bb846$0$6554$9b4e6d93@newsspool3.arcor-online.net

Georg Bauhaus wrote:

> Alex R. Mosteo wrote:
>> Pascal Obry wrote:
> 
>>> You'll see that on those projects the code quality and style is uniform
>>> in all the sources. This makes a project easier to maintain by a group
>>> of people. No one own (by using weird style for example where other
>>> developers do not feel comfortable) a part of the code. This to say that
>>> there is no ONE good style but most importantly a style must be
>>> followed, uniformity is more important to me.
>> 
>> In this regard, gnat style switches are truly useful. I find I've added
>> quite a few over time to my defaults.
> 
> Which ones of the GNAT style switches do you think have greater
> influence on your programs' stability and design? The ones
> that criticize typographic qualities, or those that comment
> on the qualities of the non-white code?

I couldn't point to a precise effect, but I like the overall result. In one
hand, nice whitespacing goes a long way into readability. I know people that
dismiss certain kinds of whitespace/comments on the basis that a good editor
highlights what's important, but I'm not totally in this camp.

I have also an itching for the little (many times not useful) details which
borders in obsessiveness, so consistent capitalization (on the fly by the
editor and then checked) saves me a lot of uneasiness and time. Admittedly,
this is a personal problem.

It will not come as a surprise that I like gnatpp a lot.



  reply	other threads:[~2008-07-03  8:09 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-30 19:01 Learning Ada but missing the basics? ryan k
2008-06-30 20:19 ` Keith Thompson
2008-06-30 20:38   ` ryan k
2008-06-30 21:18     ` mockturtle
2008-06-30 21:48 ` Jeffrey R. Carter
2008-07-01  1:15   ` ryan k
2008-07-01  2:56     ` Tero Koskinen
2008-07-01  3:13     ` Jeffrey R. Carter
2008-07-02  3:02     ` DScott
2008-07-02  9:18     ` Pascal Obry
2008-07-02 15:54       ` Alex R. Mosteo
2008-07-02 17:17         ` Georg Bauhaus
2008-07-03  8:09           ` Alex R. Mosteo [this message]
2008-07-04 17:08         ` Simon Wright
2008-07-04 17:39           ` Pascal Obry
2008-07-08  8:23           ` Alex R. Mosteo
2008-07-08  9:47             ` Jean-Pierre Rosen
2008-07-02 17:47     ` Gautier
2008-07-01 20:51 ` John McCormick
replies disabled

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