09-16-2008, 10:21 AM
(09-16-2008, 03:02 AM)Badeend link Wrote: Also a space between if and ( and spaces around 'expression' will be cleaner imo.For me it all depends on what the condition looks like. For example:
Code:
if (number >= 6)
{
// Stuff
}Code:
if (number >= aNumbers[index])
{Code:
if ( number >= aNumbers[ index ] )
{