From: Wesley Groleau <wesgroleau@despammed.com>
Subject: Re: Case dependence and coding standards
Date: Wed, 04 Jun 2003 17:32:00 -0500
Date: 2003-06-04T17:32:00-05:00 [thread overview]
Message-ID: <hsqdnTXOPqLb7kOjXTWcow@gbronline.com> (raw)
In-Reply-To: <bbks50$r3c$1@a1-hrz.uni-duisburg.de>
Georg Bauhaus wrote:
> Wesley Groleau <wesgroleau@despammed.com> wrote:
> : Rational's pretty-printer as of 4.2 can vertically align all of:
> :
> : := in out => : -- (although it's still not perfect)
>
> Tabular layout may or may not be an
> advantage , I am still eager to
> hear arguments , other than tired programmers
> liking the tidy look of it .
>
> Georg
First, I mentioned that it can vertically align
a certain set of symbols in source code, not all
words in English prose.
Second, source code does not contain multiple
words in prose style.
Third,
Variable : Variable_Type; -- does the one thing
Another_Variable : Another_Variable_Type; -- does the other thing
IS a table in nature:
first column - object name;
second column - object type;
third column - clarification;
column separators - ':' and '--'
Makes sense to me to write it like one:
Variable : Variable_Type; -- number of doohickies built
Another_Variable : Another_Variable_Type; -- the current one built here
Same meaning to the compiler, MUCH easier on the human reader.
Notice that I never intended screwing up the comments as your
strawman suggests.
There is precedent for doing the same thing even in prose.
Look at the section starting with uppercase IS. When I was
a technical writer, I would never have handed to the editor
something like that formatter like this:
IS a table in nature: first column is object name, second
column is object type, third column is clarification, and
the column separators are the colons and the double hyphens.
next prev parent reply other threads:[~2003-06-04 22:32 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
2003-06-04 13:28 ` Georg Bauhaus
2003-06-04 15:44 ` Preben Randhol
2003-06-04 22:32 ` Wesley Groleau [this message]
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