Coding Style - ackerman2001/OpenCDK GitHub Wiki

Please follow these guidelines when writing code for this project. These regulations are essential for contributing the project because we want everyone to use the same standards for consistent understanding.

General rules

  • Variable naming
    • Global variables: g_*
    • Static variables: s_*
  • Please put curly-brackets on the next line.
  • There must be no compiler warnings at all.
  • Try to comment everything you do to the code.
  • Parameter names must be as short as possible.
  • Use // to comment instead of /**/.