Maybe you’re like me who would use block comments to comment out pieces of code for debugging purposes. I used to do just this:
/*
// some code here to be commented out
*/
Well it looks fine as it is until I need to un-comment it.
// some code here to be commented out
*/
Wait a minute… The code is broken, but how?
Oops, I forgot to also remove the closing mark for the block comment.
And this just happens too often…
But just lately I found a way to save this dumb me.
/*
// some code here to be commented out
//*/
Voila! Now I only need to remove the ‘/*’ part for testing.