Re: # not in first column in many source headers

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Greg A. Woods
CC: exim-users
Subject: Re: # not in first column in many source headers
On Wed, 29 Oct 1997, Greg A. Woods wrote:

> If programs are meant to be read (as I too believe they should be), then
> they should have a style that assists the reader. However if that
> reader is primarily the author, as is far more often the case than for
> other forms of reading material, then indeed the author should express
> himself or herself in their most favourite personal style.


Quite. And 30 years ago I did sit down and think out good reasons for
the style I use. For example, I believe that the {} that go round blocks
belong *with the block*. Since you can write either

if (something) statement;

or

if (something) block

it seems to me that the { is not part of the "if" construction, and
I am uncomfortable with the common C style where the { is tagged on as
part of the "if" line. That is also why I like { and } to line up
vertically.

But I know these are all personal preferences. Like I said, when I
retire and hand over Exim to someone else (if it survives that long) I
won't complain if its source gets reformatted.

-- 
Philip Hazel                   University Computing Service,
ph10@???             New Museums Site, Cambridge CB2 3QG,
P.Hazel@???          England.  Phone: +44 1223 334714



--
* This is sent by the exim-users mailing list.  To unsubscribe send a
    mail with subject "unsubscribe" to exim-users-request@???
* Exim information can be found at http://www.exim.org/