J. xinh đẹp ¶ ¶
8 năm trước
Notes can come in all sorts of shapes and sizes. They vary, and their uses are completely up to the person writing the code. However, I try to keep things consistent in my code that way it's easy for the next person to read. So something like this might help...
M spreij ¶ ¶
17 năm trước
A nice way to toggle the commenting of blocks of code can be done by mixing the two comment styles:
Now by taking out one / on the first line..
..the block is suddenly commented out.
This works because a /* .. */ overrides //. You can even "flip" two blocks, like this:
vs