Help me to understand documentation comments | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Help me to understand documentation comments

3rd Sep 2017, 12:28 PM
yash songara
yash songara - avatar
2 Answers
+ 7
Code documentations are documents created to explain how your code works and why your code is written. Documentation comments are comments written in your codes which serves the purpose of code documentation.
3rd Sep 2017, 12:46 PM
Hatsy Rei
Hatsy Rei - avatar
0
Comments are used to help you and the others read and interprete the code... So if you forget about what does a line of code do, it will be easier to remember... As you know, they are not shown to the output...
3rd Sep 2017, 12:33 PM
Ledio Deda
Ledio Deda - avatar