Quote:
Originally posted by Travis Dane
I have never had the problem of forgetting braces, Never.
Adding braces causes big and ugly code, If you have a problem
with forgetting braces with multiple statements than blame that
and not the braces.
|
big and ugly code?
Code:
if(x){
//a
}else{
//b
}
// hardly larger than:
if(x)
//a
else
b
i use style one always and "style 3" when i want to save 4 bytes.