mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-10 06:31:56 +00:00
Added Coding Style Guide
This commit is contained in:
parent
c492f8145f
commit
f3457565d8
1 changed files with 24 additions and 0 deletions
24
CodingStyleGuide.txt
Normal file
24
CodingStyleGuide.txt
Normal file
|
@ -0,0 +1,24 @@
|
|||
Coding Style Guide
|
||||
==================
|
||||
|
||||
You _WILL_ indent with hard tabs, or you will be harmed. :)
|
||||
You can format for whatever tab spacing you like, but if you indent with spaces
|
||||
you will be hurt, and you will have deserved it. :)
|
||||
For best results, use 4-space tabs, because that's what id used and what most
|
||||
of us use.
|
||||
|
||||
/*
|
||||
SECTION_FunctionName
|
||||
|
||||
Description
|
||||
*/
|
||||
returntype
|
||||
SECTION_FunctionName ( args )
|
||||
{
|
||||
type var;
|
||||
|
||||
for (stuff) { // do something silly
|
||||
:
|
||||
:
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue