Difference between revisions of "Coding Style"

From Mineserver Wiki
Jump to navigation Jump to search
* '''Namespaces''': We probably should use them.
* '''Namespaces''': We probably should use them.
* '''Codeblocks''': (Use braces always for clarity and to prevent bugs while editing code)
* '''Codeblocks''': (Use braces always for clarity and to prevent bugs while editing code)
−
if(true) {
+
if(true)
 +
    {
      foo = bar;
      foo = bar;
    }
    }