0
What would be the purpose of a nested comment?
2 ответов
+ 3
functions can use many lines, and have many parts. to help the reader understand portions of a larger function block, one could use "nested" comments. This is polite for programs that others may have to read/debug.
- 1
Nested comments...
Single line comment inside a multi line comment... #wat
Before wonder a little bit, I realized that some people could have doubts if would be a problem to comment some lines of code (to disable it temporarily) if these lines have some single line comment inside...
This is the only way I can see some worry about nesting comments...