From The Mana World
Irving rivas (talk | contribs) |
Irving rivas (talk | contribs) m (→Code Blocks) |
||
Line 7: | Line 7: | ||
== Code Blocks == | == Code Blocks == | ||
Code blocks should be separated from the others in a dinstinct way; the best way of doing it is to insert a blank line between code blocks. | *Code blocks should be separated from the others in a dinstinct way; the best way of doing it is to insert a blank line between code blocks. | ||
Also, the blocks should be together, i.e.: without blank lines | *Also, the blocks should be together, (i.e.: without blank lines within them). | ||
*The opening brackets should be at the end of the parent line, not in a new line; the closing ones should be in a line of their own. |
Revision as of 13:07, 31 July 2007
This is an attempt to standardize the eAthena coding. Any suggestions are welcome to be posted on the discussion page before editing.
Indentation
The indentation should be made with a tab or four spaces (which covers the same distance). Code in the same block should have the same indentation.
Code Blocks
- Code blocks should be separated from the others in a dinstinct way; the best way of doing it is to insert a blank line between code blocks.
- Also, the blocks should be together, (i.e.: without blank lines within them).
- The opening brackets should be at the end of the parent line, not in a new line; the closing ones should be in a line of their own.