- 1
What is the need for nesting of comments?
7 Respuestas
+ 15
Aaa, sorry bro, I didn't understand what you were trying to say. To be honest I've never seen someone using it like that
+ 13
Of course I do, it is prettier.
Why would you write:
//Hello
//My
//Name
//Is
//BlahBlah
if you can do this:
/*
Hello
My
Name
Is
BlahBlah
*/
+ 12
Nesting comments? You mean comments in different lines?
0
/*blah blah
hello//this is nesting
*/
I don't think any point in it
do u bro?
0
No I am not talking about that
/*.....*/ ,this is prettier
but /*.......//comment inside comment...*/. it is not prettier to use comment inside comment
0
Ok I got it thanx for your time
0
nesting comments typically appear when you comment out several lines of code that are already commented. useful for debugging, explaining or just keeping a variation of your code.