Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 128719

Questions about writing comments in code.

6
votes
Strictly REM is a REMark and it is very similar to a comment, however in Windows batch files it will be shown to the user unless either ECHO Off has been called earlier in the file or it is preceded b …
answered Mar 10 '17 by Steve Barnes
9
votes
Of course you should not remove comments, you may need to sanitise some of them in some cases, e.g. "Correction Factor" rather than "Fiddle Factor don't know why this works?" if your customer/client … may be seeing the source code. Most compilation tools completely remove, by ignoring, any comments so decompilation does not give the comments. Comments in your source code should only be removed if they are no longer true, e.g. TODO:.... comments when you have done what they are talking about. …
answered Aug 10 '17 by Steve Barnes
3
votes
The general rules are that comments should be where you need them when maintaining the code and that the documentation should include what is relevant to the reader. Accordingly all your files should … contain headers and function level comments but only the public methods normally need to be in the user documentation generated by Doxygen.d …
answered Mar 29 '17 by Steve Barnes