The MAXON API utilizes various standard and modern C++ technologies. Any developer working with the MAXON API should have a working knowledge of these technologies and generally an advanced knowledge of C++ and object orientated programming.
Templates are used to avoid duplicated code and to define generic functionality.
Macros are used to mark certain parts of the code or to automatically generate utility code. Macros are used heavily in the interface and registry system. E.g. interface declarations use these macros: MAXON_INTERFACE_BASES, MAXON_INTERFACE, MAXON_METHOD and MAXON_DECLARATION.
Some generic macros can be used in any project, see Generic Macros.
Namespaces are used to avoid symbol collisions. The complete MAXON API is defined in the maxon
namespace. It is recommended to use custom namespaces as much as possible.
Lambdas are used instead of callback functions. See also maxon::Delegate.
Enumeration classes are used instead of simple enumerations.
The MAXON API does not use exceptions. Instead the custom error system should be used. See Error Handling.