root/trunk/CodingStandards

Revision 501, 0.6 kB (checked in by LeoD, 9 months ago)

--

Line 
1 lines:
2     * a line is never longer than 100 chars
3
4 imports:
5     * import in alphabetic order, case-insensitive
6         import a.b;
7         import a.b.C;
8         import a.b.d;
9
10     * first system libraries (e.g. tango, derelict), then
11       gen. stuff then defend. stuff
12
13 indentation:
14     * we indent with tabs (assuming space-width 8)
15
16 comments:
17     * one line comments are in form
18         // comment
19
20     * multi-line comments are in form
21         /* text
22            text */ (for 2-line comments)
23
24         /*
25          * text
26          * text
27          */ (for more-then-2-line comments)
28
29     * commented out code is in form
30         //code (no space there, for single-line code)
31
32         /+
33         code
34         code
35         code
36         +/ (for multi-line code)
Note: See TracBrowser for help on using the browser.