
10-20-2005, 01:44 AM
|
|
-Backtoscripts-
|
Join Date: Aug 2003
Location: California
Posts: 289
|
|
|
Some people read code based on the braces and their positions, while others read code based on the ammount of whitespace that comes before the first character in the line. I, personally, don't like having braces on their own line, as it throws off my ability to read and understand the code. That's what whitespace is for, isn't it? To aide the readability of the code? Personally, I don't put braces on their own line as I think it's overkill on style and it throws off my ability to read the code.
Also, when I first learned how to script, I learned the syntax of placing the braces after the conditional it comes from. -Shrugs- Just the way I was taught, and the way I think. Anyone agree/disagree? |
__________________
"The higher you fly, the harder it is to breathe."
[Kaidenn] Maybe I will somehow take control of Lance's body when he isn't looking, have him log onto Kingdoms, update one script, and leave.
[Kaidenn] And leave him exactly where I found him, unchanged and completely unnaware of what just took place the last two minutes.
[GrowlZ] Lance: You might want to lock your bedroom door tonight
|
|
|
|