Coding-style doc updated
This commit is contained in:
@@ -70,10 +70,9 @@ char itemDelimiter = ' ';
|
|||||||
```
|
```
|
||||||
|
|
||||||
Classes always start with an upper-case letter (e.g, MemoryManager,
|
Classes always start with an upper-case letter (e.g, MemoryManager,
|
||||||
TracePlayer, PythonCaller, etc.), being **DRAMSys** a notable exception to the
|
TracePlayer, PythonCaller, etc.).
|
||||||
rule.
|
Acronyms are camel-cased (e.g., TlmRecorder, not TLMRecorder, Dram, not DRAM),
|
||||||
|
being **DRAMSys** a notable exception to the rule.
|
||||||
Acronyms are camel-cased (e.g., TlmRecorder, not TLMRecorder, Dram, not DRAM).
|
|
||||||
|
|
||||||
#### Whitespace
|
#### Whitespace
|
||||||
Always use a single space after a keyword and before a curly brace:
|
Always use a single space after a keyword and before a curly brace:
|
||||||
@@ -124,7 +123,6 @@ if (foo)
|
|||||||
bar();
|
bar();
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## DRAMSys Coding Style for Python Code
|
## DRAMSys Coding Style for Python Code
|
||||||
|
|
||||||
We follow the PEP8 style guide.
|
We follow the PEP8 style guide.
|
||||||
|
|||||||
Reference in New Issue
Block a user