Can someone please explain to me what the documentation comment is about | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can someone please explain to me what the documentation comment is about

I got lost on this one

27th Sep 2018, 4:38 PM
Theo Jr Emakpor
Theo Jr Emakpor - avatar
1 Answer
+ 1
Documentation is often written in a different area so if someone wants to learn about your program they go there and can simply read about it and not have to look directly at the code. Comments are written inside of the code for people to read so that they can understand what's happening inside of the code better.
30th Sep 2018, 12:32 AM
Justin Petluk
Justin Petluk - avatar