comp.lang.ada
 help / color / mirror / Atom feed
From: Wesley Groleau <wesgroleau@despammed.com>
Subject: Re: Case dependence and coding standards
Date: Tue, 03 Jun 2003 21:39:15 -0500
Date: 2003-06-03T21:39:15-05:00	[thread overview]
Message-ID: <py6dnYvKr-4hxkCjXTWcpA@gbronline.com> (raw)
In-Reply-To: <vdqc8jri3m6771@corp.supernews.com>


> I *don't* allow pretty-printers and CM systems to modify my code; my
> experience is that they make it worse as often as they make it better.

Often true--not always.  I use to call the one in Apex
the "ugly-printer" but they've considerably improved it.

> (The inability to turn off Rational's pretty printer in their editor is
> a great frustration to me.) I don't even think it is possible to write a

Yes, it can be turned off.  And it's behavior can be modified
by view switches and/or environment variables.

> pretty printer that will do a good job in general; such programs can't
> know when to line up declarations and when not to; when to leave

Rational's pretty-printer as of 4.2 can vertically align all of:

:=  in  out  =>  :  --    (although it's still not perfect)

In version 3.2, if you put two spaces at the end of a line,
it would somewhat preserve your own alignment.  If I remember
right, Ada-ASSURED can do vertical alignment also.

> comments alone and when to reformat them; and so on. (And I've tried to
> write one; you'll find it in Janus/Ada.)

I can't remember whether Ada-ASSURED can do this.
Seems to me I've seen one somewhere that can do it.




  reply	other threads:[~2003-06-04  2:39 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-03  5:05 Case dependence and coding standards Fionn mac Cuimhaill
2003-06-03 17:31 ` Robert A Duff
2003-06-03 17:46   ` Vinzent Hoefler
2003-06-03 19:04     ` Robert A Duff
2003-06-03 23:37       ` Randy Brukardt
2003-06-04  2:39         ` Wesley Groleau [this message]
2003-06-04 13:28           ` Georg Bauhaus
2003-06-04 15:44             ` Preben Randhol
2003-06-04 22:32             ` Wesley Groleau
2003-06-05 12:01               ` Georg Bauhaus
2003-06-05 15:36                 ` Preben Randhol
2003-06-05 17:41                   ` Wesley Groleau
2003-06-05 17:47                     ` Preben Randhol
2003-06-05 17:51                       ` Preben Randhol
2003-06-05 18:32                 ` Wesley Groleau
2003-06-06  8:58                   ` Georg Bauhaus
2003-06-07  0:53                     ` Wesley Groleau
2003-06-10 15:05                       ` Georg Bauhaus
2003-06-05 17:32               ` Wesley Groleau
2003-06-05 17:43                 ` Preben Randhol
2003-06-04  8:39       ` Vinzent Hoefler
2003-06-04 16:32         ` Stephen Leake
2003-06-05  1:27           ` Robert I. Eachus
2003-06-05  7:47           ` Vinzent Hoefler
2003-06-05 17:47             ` Stephen Leake
2003-06-05 19:43               ` Wesley Groleau
2003-06-06  9:27               ` Georg Bauhaus
2003-06-06 10:29                 ` Preben Randhol
2003-06-03 19:38   ` Stephen Leake
  -- strict thread matches above, loose matches on Subject: below --
2003-06-04 17:00 Lionel.DRAGHI
replies disabled

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