On Apr 12, 2011, at 6:36 PM, Paul McNett wrote:

>> I think it just wrapped on it's own in gmail.  Came from my code base.
>>   The spaces make it easier to read I think.  All those blasted parens
>> so close together!
> 
> Why stop at just one space between parens?

        Yes, exactly! I think this is *so* much easier to read, with 4 spaces 
around parens!

bool leapYear =  (    (    (    _year % 4    ) == 0    ) && (    (    _year % 
100    ) != 0    ) || (    (    _year % 400    ) == 0    )    );

        While we're at it, let's be sure to add at least 2 blank lines between 
every line of code - since whitespace is good, more whitespace is better!


-- Ed Leafe




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to