+ 1

Comment piece of code.

As well as leaving comment as reminder/note for yourself/someone who will work on code later, is it also possible to comment out a piece of code?(which you don`t want to use right now or have problem implementing) ex. working code <!-- code for later use --> working code.

10th Feb 2017, 2:48 PM
Vladimir Minirakhmanov
2 Respuestas
+ 7
of course. I do that often for debugging, like printing the values of some variables. after debugging I comment out these sections for later use.
10th Feb 2017, 3:01 PM
Mario L.
Mario L. - avatar
0
IMHO only for debugging reasons. I mean just for a while.
11th Feb 2017, 9:41 PM
Andrii Pyvovar
Andrii Pyvovar - avatar