Thread: formatting
View Single Post
Old 03-30-2003, 02:56 PM   #17 (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 abc123
big and ugly code?

Code:
if(x){
  //a
}else{
 //b
}
If we had this about ten times, It would take in alot of extra
space with no reason whatsoever, Just because we can't
remember braces?

To get to the point: Style #3 is the best, If you can't remember
to put braces or not than don't use it, Otherwise it would save
you space, Even though it is not much it IS space.
__________________
OpenGL, DirectX
Travis Dane is offline   Reply With Quote