PCSX2 Documentation/Code Formatting Guidelines: Difference between revisions
Jump to navigation
Jump to search
PCSX2 Documentation/Code Formatting Guidelines (view source)
Revision as of 22:35, 8 January 2015
, 8 January 2015→Topic 5: Avoid compounding complex operations onto a single line with a function declaration.
Line 38: | Line 38: | ||
===Example:=== | ===Example:=== | ||
<nowiki>// Not so good... | <nowiki> | ||
// Not so good... | |||
void DoSomething() { Function1(); Function2(); var += 1; }</code> | void DoSomething() { Function1(); Function2(); var += 1; }</code> | ||