Code Commenting Tip

1
Jul
0

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.

  • Share/Save/Bookmark