TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender: "Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
X-To: Simon Wright <[log in to unmask]>
Date: Tue, 2 Sep 2003 10:01:14 -0400
Reply-To: Stephen Leake <[log in to unmask]>
From: Stephen Leake <[log in to unmask]>
In-Reply-To: <[log in to unmask]>
Content-Type: text/plain; charset=us-ascii
MIME-Version: 1.0
Parts/Attachments: text/plain (28 lines)
Simon Wright <[log in to unmask]> writes:

> > From: Roger Racine <[log in to unmask]>

> Our project (and my own code) is written using GNAT. 99% of the time I
> just let emacs ada-mode do the indenting for me and compile with style
> checking on (-gnaty). I have great difficulty persuading people to do
> this *and fix the style errors*.

There is automated help for this. I wrote an extension for Gnu Emacs
Ada mode that fixes many style errors reported by the compiler, and
GPS can do the same thing. I find it _much_ easier to comply with the
style standard with the editor support.

> I guess the only aproach that's going to work is to do code reviews
> from compiler-generated listings (compiled with -gnatfly, perhaps).

Try the automated editor support.

> > Of course, then there are those (with young eyes) who say to just
> > use a 6-point font (giving about 266 characters per line on a high
> > resolution screen). :-)

I don't go that far. 120 is enough :).

--
-- Stephe

ATOM RSS1 RSS2