Documentation comments | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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 Respostas
+ 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
į Œį ŒBrains[Abidemi]
į Œį ŒBrains[Abidemi] - avatar