Quote:
Originally posted by Epsilon
The total "space" savings would amount to less than a kilobyte. So I guess if I was really anal about the size of my script I could reduce it from 269K to 268K.
Nah, I think I'll leave the braces in.
|
It's not about saving space, It's about how it looks.
If something like this:
Code:
if(a==1)
{
// blabla
}
else
{
// blabla
}
Could look like this:
Code:
if(a==1)
//blabla
else
//blabla
Then i prefer the last because it simply looks better (In my point
of view). As far as the debugging problems, I have no idea what
you're talking about, Just put a brace with 2 or more statements
otherwise not. Can't be simpler.