Internal documentation

Internal documentation in computer software are comments within the source code. These comments include notes on how and why parts of the code operate. It should provide future programmers with a way to understand how the code works. The opposite is external documentation where the notes and explanations are in a separate document.