Asked by
Sid
in
Computers & Technology
at
12:42 PM on January 24, 2008
Sanket Vora's Answer
In computer programming, a comment is a programming language construct used to embed information in the source code of a computer program. In most cases,[1] when the source code is processed by a compiler or interpreter, comments are ignored.[2]
Comments have a wide range of potential uses: from augmenting program code with basic descriptions, to generating external documentation.[3] Comments are also used for integration with source code management systems and other kinds of external programming tools.
The flexibility provided by comments often allows for a wide degree of variability and potentially non-useful information inside source code. To address this, many technical commentators and software analysts often subscribe to any of several "philosophies" and guidelines regarding the proper use of comments.
Answered at
12:52 PM on January 26, 2008
Read all answers