That's the way I do it.
But a chap has to be able to read many dialects; the difference between a 
language "english how she is speak" 
And "the queens english". Both useful for different things.

I like an expressive languages dialect and tend to expressive dialects. 
Do-begin coupled with indentation is to me more clear then the extra reminder 
of grammer that I don't need and which a split line would provide.

Of course this is all just an artifact of my experience impinging on my mind, I 
don't expect that others should agree.

The more verbose forms are more friendly to diff and patch, I have found, 
leaving plenty of non-modified scaffolding for diff to anchor to.

I'm all for the IDE converting from the one true form to editors-choice and 
back again when loading and saving.

Sam


-----Original Message-----
From: "Samuel Cartaxo" <[EMAIL PROTECTED]>
To: [email protected]
Sent: 04/01/07 12:07
Subject: Re: [lazarus] Console app problems

Maybe it is a rare taste but I personally prefer to use code like this

if XXXXXX then begin

end;//if

with AAAAA do begin

end;//with

while CCCCC do begin

end;//while

etc.

I find very easy to locate the closing END using this little comment after it.

What do you think? Does it look wrong for some reason?

On 1/4/07, Christian Iversen <[EMAIL PROTECTED]> wrote:
> On Thursday 04 January 2007 11:35, Marco van de Voort wrote:
> > On Wed, Jan 03, 2007 at 10:53:40PM +0100, Christian Iversen wrote:
> > > > > > Not really IMHO. C has many more, mostly due to macro's.
> > > > >
> > > > > I don't think I follow. Isn't macro style mostly like function style?
> > > >
> > > > The macro itself is that style, but the place where the macro is placed
> > > > doesn't have to adhere to where a function could stand.
> > >
> > > Well that's true.
> > >
> > > Anyway, it's not like it's something any set of programmers could ever
> > > agree on ;-)
> >
> > I agree. Actually for me
> > - some sane form of basic identation and capitalisation/namegiving.
> > Consistency and compability with the bulk of the src in that language is
> > more important than the actual makeup.
> > - putting begin/{ on a separate line line and
> > - not more Hungarian notation than stricly necessary
> >
> > is enough to make me happy because that is what I need to achieve some form
> > of productivity. (the begin/{ not on a newline confuses my overview of
> > blocks, hungarian notation is mostly redundant in Delphi and a pain to
> > maintain).
> >
> > The rest is IMHO not measurable.
>
> I agree that those 3 points are quite important, but it seems that in
> Technetium we enjoy 100% consistent coding style quite a bit. It gets easier
> to read, maintain and create new code - at least in my opinion :-)
>
> --
> Regards,
> Christian Iversen
>
> _________________________________________________________________
>      To unsubscribe: mail [EMAIL PROTECTED] with
>                 "unsubscribe" as the Subject
>    archives at http://www.lazarus.freepascal.org/mailarchives
>


-- 
Prof. Dr. Samuel Jorge Marques Cartaxo
Department of Chemical Engineering
Center of Technology
Federal University of CearĂ¡

"This message is intended exclusively for its
addressee and may contain information that is
confidential, protected by a professional
privilege or which disclosure is prohibited by
law. Unauthorized use of such information is
prohibited and subject to applicable penalties."

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to