Open charlieMonroe opened 8 years ago
Example:
++counter; // Increase counter ++index; // Increase index continue;
Output:
++counter // Increase counter ++index // Increase index continue
As you can see, the comments in the result really don't make sense since they are about the line above them, which is hard to read.
If possible, keep them on the same line, or if that's not possible, move them above:
// Increase counter ++counter // Increase index ++index continue
Example:
Output:
As you can see, the comments in the result really don't make sense since they are about the line above them, which is hard to read.
If possible, keep them on the same line, or if that's not possible, move them above: