06-10-2009, 03:01 PM
|
#3 (permalink)
|
|
The Acquainted
Join Date: May 2009
Location: Durham, UK
Posts: 134
Thanks: 9
|
Based on the code you provided I would write it like this:
PHP Code:
if (x == y) {
print(x);
}
I like spaces after 'if' and always put the '{' on the same line. Not sure why, but I don't like spaces after other functions like the shown print(x). Guess it's because it looks messy when you start nesting them in one another.
|
|
|