Documentation comments | Sololearn: Learn to code for FREE!
Nowy kurs! Każdy programista powinien nauczyć się Generative AI!
Wypróbuj darmową lekcję
0

Documentation comments

When would you us a documentation comment and not just a regular comment like a multiline comment? Aren' they pretty much the same?

14th Nov 2017, 9:38 PM
Caleb J. Rasmussen
Caleb J. Rasmussen - avatar
2 odpowiedzi
+ 3
Documentation comments for documenting classes and methods. Multi-line comments for other purposes, like commenting something inside a method
14th Nov 2017, 9:56 PM
Eligijus Silkartas
Eligijus Silkartas - avatar
+ 1
They're pretty almost the same thing.
14th Nov 2017, 10:37 PM
᠌᠌Code X
᠌᠌Code X - avatar