[Courses] [C] Beginner's Lesson Two: Style

Daniel. cristofd at hevanet.com
Tue Oct 8 14:26:33 EST 2002


>Some programmers also do it like this, putting the first brace after
>the keyword:
>
>while (1) {
>     statement;
>     statement;
>}

The real advantage to this style is that more of your program will 
fit on the screen at one time (if it's more than a screen long, that 
is), which may make it a little easier to see what's going on. But 
again, it's a matter of personal (or corporate) preference.
-Daniel.
-- 
               ()  ASCII ribbon campaign
               /\    against HTML mail



More information about the Courses mailing list