Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

General coding standards / best practices

This file defines some basic standards.

This folder also contains standards for a variety of recurring code patterns and how you best handle them.

General standards

Based on PMP Rules

  • max chars per line: 120
  • max lines per function: 30
  • max lines per class: 500
  • every file needs a description / Doxygen comment at start
  • avoid nested ifs: no more than 3 ifs
  • switch statements only for more than 2 cases, otherwise use if/else