Code Standards
General Principle
Clear, easy to maintain, easy to refactor.
It’s simple, easy to understand, and easy to implement.
The style is unified, and the overall style of the code remains unified.
Universal, following the industry’s common programming specifications.
Version Number
Server: .NET7
Client: Unity
Layout and Formatting
Blocks are indented using spaces (4 per level) instead of tabs (‘\t’) in an indented style. The K&R brace wrap style is employed, wherein the opening brace of a function starts on a new line and monopolizes it. Subsequent opening braces follow the end of the statement, and closing braces monopolize a line unless followed by the continuation of the same statement, such as the ‘else/else if’ or semicolon