Documentation style: how do you differentiate variable names from the rest of the text within a comm
- by Alix
Hi,
This is a quite superfluous and uninteresting question, I'm afraid, but I always wonder about this. When you're commenting code with inline comments (as opposed to comments that will appear in the generated documentation) and the name of a variable appears in the comment, how do you differentiate it from normal text? E.g.:
// Try to parse…