[Info-vax] Style question, was: Re: Empty blocks in FILES-11 directory files.

Dennis Boone drb at ihatespam.msu.edu
Tue Sep 27 14:55:26 EDT 2022


 > For me, I find the liberal use of braces helps to draw attention to the
 > code structure, is more readable in general (at least to me), and helps
 > avoid some mistakes during later editing.

Wrapping even single statement loop/conditional/... blocks in braces
avoids misconstruing an indented statement as inside the block because
it shares indent level.  It's recommended by some style / code quality
guides.

There are lots of styles, and about lots^2 internet wars over which is
best.  Best not to start the ^3 round. :)

De



More information about the Info-vax mailing list