MLUG: Re: [MLUG] Quick programming question on style
Re: [MLUG] Quick programming question on style
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
McIntosh Jason wrote:

if (testcase == 1) {

or

if (testcase == 1)
{


I used to use the second notation, but a few years ago I switched to the first. One of the reasons I like the first method better is that it uses one less line. This means that one can see more code on a single page, so I have to do less page turning. As feable as this reasoning sounds, I have found that it really helps.



--

Stephen Montgomery-Smith
EMAIL:PROTECTED
http://www.math.missouri.edu/~stephen
_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members