Top "Comments" questions

A comment is a programming language construct used to embed non-compiled, programmer-readable annotations in the source code of a computer program.

How can I change @author tag configuration in eclipse in such a way that it takes the name I have specified?

I'm using Eclipse Indigo for Java. I used to write comments over the methods. In that whenever I use @author …

java comments eclipse-indigo
Is it bad practice to comment out single lines of CSS with //?

I have recently started using // to "comment" out single lines of CSS code. I understand that I am not actually …

css syntax comments
Facebook comment moderation tool

I have just added the facebook comments plugin and I am seeing a first comment of a user. But if …

comments facebook-comments
Where to put the doxygen comment blocks for an internal library - in H or in CPP files?

The common sense tells that the Doxygen comment blocks have to be put in the header files where the classes, …

documentation comments doxygen
How to open WhatsApp using an Intent in your Android App

I want an Intent to take control you directly to WhatsApp. So the moment the user clicks on the button, …

android android-intent comments onclicklistener whatsapp
What does '# noqa' mean in Python comments?

While searching through a Python project, I found a few lines commented with # noqa. import sys sys.path.append(r'C:\…

python comments terminology code-analysis pep8
How do you flag code so that you can come back later and work on it?

In C# I use the #warning and #error directives, #warning This is dirty code... #error Fix this before everything explodes! …

c# c++ comments
Best way to automatically remove comments from PHP code

Whats the best way to remove comments from a PHP file? I want to do something similar to strip-whitespace() - …

php comments strip
How to mark logical sections of code in Java comments?

Java classes are generally divided into logical "blocks". Is there a convention to mark these sections? Ideally, it would be …

java comments
Processing 'It looks like you're mixing "active" and "static" modes.'

Processing keeps giving me this error when I run it even though it is just a print command. When I …

comments processing