The following applies to all programming courses unless otherwise noted. Non-programming courses will have class specific guidelines provided by the instructor.
[ companion video ]
These commenting standards are designed to develop professional documentation habits and consistent coding discipline. They also support the practices of the AI-Integrated Classroom. Submitted code must follow the commenting standards and required formats shown below.
Some required fields and empty sections are intentionally more explicit than typical production documentation. This is deliberate: you are required to consider parameters, returns, exceptions, notes, and class structure explicitly rather than leave it unclear whether something was considered or simply omitted.
Complete examples are provided on GitHub for both Python and C/C++, and must be followed exactly. Each language example includes its own README explaining the standards, professional conventions, and deliberate instructional choices in detail.
The C/C++ examples use Doxygen-style documentation blocks. The Python examples use standard Python docstrings with reStructuredText/Sphinx-style fields. In particular, pay attention to the following:
main() is a function and requires standard function
documentation.
none, None, or
void form shown in the language-specific examples.
none exactly as shown.