Block close check

Luís Marques luismarques+spam at gmail.com
Sun Dec 10 16:57:29 PST 2006


Frank Benoit (keinfarbton) wrote:
> They can be useful if you have a lot of stuff in between. But they are
> annoying if there is only one line in between.
> 
> Another idea: if you have such a lot of stuff in inner control
> structures, move it into a private or nested functions. Then get rid of
> these comments :)

Yes, that's what I would recommend.
But there really are  some kinds of blocks that may be large by design 
(e.g. version statements, classes, etc).



More information about the Digitalmars-d mailing list