Programming Tips¶
Documentation¶
Check Doxygen for inline documentation:
- Supported languages: C++, CUDA, Python, and more.
- Generates HTML, LaTeX, RTF, and other formats.
- Supports inline code documentation with comments and special tags (e.g., @param, @return).
- Can extract documentation from source code comments, making it easier to maintain.
- Best for: C++ and CUDA, but also works well for Python with some configuration.
- https://www.doxygen.nl
Memory handling¶
- Always check your code for memory leaks!