File: HACKING

package info (click to toggle)
muine 0.8.11-4
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 4,444 kB
  • ctags: 2,250
  • sloc: sh: 10,253; cs: 10,022; ansic: 1,994; xml: 1,408; makefile: 430
file content (22 lines) | stat: -rw-r--r-- 457 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Coding guidelines
-----------------
Private variable names should be written like this, e.g.
	variable_names_like_this 

Property names, and function names should be written like this, e.g.
	VariableNamesLikeThis

Spaces should be added before brackets/indexes, e.g.
	SomeFunction (arg1, arg2);
	urls [1];

Brackets should be on the same line as the statement, apart from functions, e.g.

if {
	SomeFunction ();
}

private void SomeFunction ()
{
	Foo ();
}