C++ Code Style
Our coding guidelines are based on the Collaborative Collection of C++ Best Practices.
We provide detailed extensions to the best practice, agreed on by the NebulaStream team, in the following subsections:
- Code Format Style
- General Guidelines
- Logging in NebulaStream
- Consider Threadability
- Consider Performance
- Consider Safety
We use clang-format to ensure a consistent code styling format.
The style is defined in
.clang-format configuration file in the NebulaStream main repository.
You can find other styling parameters in the documentation.
💡 The clang format configurator helps you find the correct settings.