View Single Post
Old 06-10-2009, 01:13 PM   #1 (permalink)
Runar
The Contributor
 
Runar's Avatar
 
Join Date: Nov 2008
Location: Norway
Posts: 58
Thanks: 20
Runar is on a distinguished road
Default 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( == )
{
    print( 
);

So, how do you write your code?

Let me know if the thread title could be better.


Yours, Runar
Send a message via MSN to Runar
Runar is offline  
Reply With Quote