Thread: formatting
View Single Post
Old 04-01-2003, 08:57 AM   #26 (permalink)
Travis Dane
Code Monkey
 
Travis Dane's Avatar
 
Join Date: Feb 2003
Location: Netherlands
Posts: 89
Travis Dane is on a distinguished road
Send a message via ICQ to Travis Dane
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.
__________________
OpenGL, DirectX
Travis Dane is offline   Reply With Quote