06-10-2009, 01:13 PM
|
#1 (permalink)
|
|
The Contributor
Join Date: Nov 2008
Location: Norway
Posts: 58
Thanks: 20
|
How do you write your code?
Greetings!
I recently came across this Wikipedia article on indent styles, and thought it could be fun to see how the member of this community writes their code.
I would like to point out that I did not pick the style I liked the most and started writing that way, after reading the article. I found the style most equal to the way I write my code. It turned out to be a mixture of Allman style and my own.
Example:
PHP Code:
if( x == y )
{
print( x );
}
So, how do you write your code?
Let me know if the thread title could be better.
Yours, Runar
|
|
|