Coding Standards - GavWood/DOGE-Game-Engine GitHub Wiki

Class names and their filenames are prefixed with a double letter - uppercase and then lower.

This has been chosen in preference to namespaces, which are likely a better approach. Personally, I don't like the std:: etc. prefix, and as an example, having maths abstracted data types beginning with the prefix Mt has let me pull in other programmers graphics code which invariably include a vec3 type - and the use of Mt has meant that this has been error free, without needing to change namespace.

e.g.

  • Bt - Base types
  • Ba - Binary archive
  • Dy - Dynamics - for physics bodies
  • Er - Error logging
  • Fs - File system