- 1

What is the need for nesting of comments?

13th Feb 2017, 2:30 PM
Naval kumar shukla
Naval kumar shukla - avatar
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
13th Feb 2017, 2:40 PM
Filip
Filip - avatar
+ 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 */
13th Feb 2017, 2:36 PM
Filip
Filip - avatar
+ 12
Nesting comments? You mean comments in different lines?
13th Feb 2017, 2:32 PM
Filip
Filip - avatar
0
/*blah blah hello//this is nesting */ I don't think any point in it do u bro?
13th Feb 2017, 2:34 PM
Naval kumar shukla
Naval kumar shukla - avatar
0
No I am not talking about that /*.....*/ ,this is prettier but /*.......//comment inside comment...*/. it is not prettier to use comment inside comment
13th Feb 2017, 2:39 PM
Naval kumar shukla
Naval kumar shukla - avatar
0
Ok I got it thanx for your time
13th Feb 2017, 2:41 PM
Naval kumar shukla
Naval kumar shukla - avatar
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.
16th Feb 2017, 1:02 PM
Marko Wieck