New coding guidelines: Difference between revisions
Jump to navigation
Jump to search
(Created page with "This page contains new and unofficial coding guidelines. <br><br> <ol> <li>Use '''const''' and '''constexpr''' wherever possible.</li> <li>Use the '''noexcept''' specifier whenever possible.</li> <li>Use '''nullptr''' instead of '''NULL''' when setting or returning a null pointer.</li> <li>Functions that only return a value should be placed in header files. For example, instead of: <syntaxhighlight lang="cpp"> // In .cpp file int GetGameSpeed() { return m_iGameSp...") |
Fernando187 (talk | contribs) (Replaced content with "{{Delete|Moved to mtasa-docs GitHub repository}}") Tag: Replaced |
||
(15 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Delete|Moved to mtasa-docs GitHub repository}} | |||
{ | |||
Latest revision as of 14:26, 20 July 2024
This page is marked for deletion. | |
Reason: Moved to mtasa-docs GitHub repository Actions: Delete (Administrators) - Discuss - What links here - Category
|