Closed mattrussmill closed 5 years ago
Should comments also exist in header file? Comments include use case explanation in header (e.g. static and virtual)?
https://www.stack.nl/~dimitri/doxygen/manual/docblocks.html
read all comments: https://stackoverflow.com/questions/355619/where-to-put-the-doxygen-comment-blocks-for-an-internal-library-in-h-or-in-cpp
"Having comments in the header means that all users of a class must be recompiled if a comment is changed. For a large projects, coders will be less inclined to update comments in headers if they risk spending the next 20min rebuilding everything.
And.. since you're supposed to read the html doc and not browse through the code for documentation, it's not a large problem that the comment blocks are more difficult to locate in the source files."
don't bother with this project. current format is fine
Come up with a standard comment header for functions and use it.