Every developer has wanted to temporarily comment out code, and most languages support the code commenting function of /* codeToComment(); */
/* codeToComment(); */
I have found it very helpful for developing to comment using /*codeToComment();/**/
/*codeToComment();/**/
Especially for large blocks of code, where you can take out the first occurrence of /*, and not cause any compile issues with your code.
This, even though very small, saves me a lot of time when I am trying to debug especially.
Consider subscribing to our RSS feed!
No comments yet.
Name (required)
Mail (will not be published) (required)
Website
RSS feed for comments on this post
Code Commenting Tip
Jul0
Every developer has wanted to temporarily comment out code, and most languages support the code commenting function of
/* codeToComment(); */I have found it very helpful for developing to comment using
/*codeToComment();/**/Especially for large blocks of code, where you can take out the first occurrence of /*, and not cause any compile issues with your code.
This, even though very small, saves me a lot of time when I am trying to debug especially.
Enjoy this article?
Consider subscribing to our RSS feed!