[Lazarus] Verdict of Lazarus 0.9.29

Marco van de Voort marcov at stack.nl
Thu Oct 21 14:58:25 CEST 2010


On Wed, Oct 20, 2010 at 07:59:48AM -0500, Andrew Brunner wrote:
> > ?if Accept then
> > ?begin
> > |
> > 1 2 ? ?3 ? ?4 ? 5
> 
> Actually, I rarely break my If statements across more than one line
> save to accommodate large logic statements for code readability.
> 
> if (condition1=condition2) or (conditionx=conditiony) then begin
>   // code here
> end else begin
>   // more code here
> end;

I never got used to having begin not on a newline. Even despite having
used modula2 for use (but M2 has no single line blocks to disambiguate).

Moreover, it rarely pays to use a convention different from the norm. (and
the norm on Delphi is begin on a newline afaik)

> preferences but I am also convinced after using this technique, most
> would be using it as well.

I actually started like that because it matched the M2 style I'm used to
better, but gave it up later. Unworkable.




More information about the Lazarus mailing list