Added a section about EOL character.
This commit is contained in:
parent
4150192c26
commit
722dd41b38
8
HACKING
8
HACKING
@ -16,6 +16,7 @@ quality of the code.
|
|||||||
2.4. Single instruction
|
2.4. Single instruction
|
||||||
2.5. Line length
|
2.5. Line length
|
||||||
2.6. Spaces and parentheses
|
2.6. Spaces and parentheses
|
||||||
|
2.7. End-of-line character
|
||||||
3. Naming conventions
|
3. Naming conventions
|
||||||
3.1. Classes
|
3.1. Classes
|
||||||
3.2. Variables/parameters/member variables
|
3.2. Variables/parameters/member variables
|
||||||
@ -178,6 +179,13 @@ Do use a single space before flow control statements:
|
|||||||
while (x == y) and _NOT_: while(x==y)
|
while (x == y) and _NOT_: while(x==y)
|
||||||
|
|
||||||
|
|
||||||
|
2.7. End-of-line character
|
||||||
|
--------------------------
|
||||||
|
|
||||||
|
Configure your editor to use "\n" (UNIX convention) for end-of-line sequence,
|
||||||
|
and not "\r\n" (Windows), nor "\n\r", nor any other combination.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
3. Naming conventions
|
3. Naming conventions
|
||||||
=====================
|
=====================
|
||||||
|
Loading…
Reference in New Issue
Block a user