

com⋅ment
[kom-ent]
| 1. | a remark, observation, or criticism: a comment about the weather. |
| 2. | gossip; talk: His frequent absences gave rise to comment. |
| 3. | a criticism or interpretation, often by implication or suggestion: The play is a comment on modern society. |
| 4. | a note in explanation, expansion, or criticism of a passage in a book, article, or the like; annotation. |
| 5. | explanatory or critical matter added to a text. |
| 6. | Also called rheme. Linguistics. the part of a sentence that communicates new information about the topic. Compare topic (def. 4). |
| 7. | to make remarks, observations, or criticisms: He refused to comment on the decision of the court. |
| 8. | to write explanatory or critical notes upon a text. |
| 9. | to make comments or remarks on; furnish with comments; annotate. |
Based on the Random House Dictionary, © Random House, Inc. 2009.
Cite This Source
Copyright © 2009 by Houghton Mifflin Company.
Published by Houghton Mifflin Company. All rights reserved.
Cite This Source
Comment
Com"ment\ (?; 277), v. i. [imp. & p. p. Commented; p. pr. & vb. n. Commenting.] [F. commenter, L. commentari to meditate upon, explain, v. intens. of comminisci, commentus, to reflect upon, invent; com- + the root of meminisse to remember, mens mind. See Mind.] To make remarks, observations, or criticism; especially, to write notes on the works of an author, with a view to illustrate his meaning, or to explain particular passages; to write annotations; -- often followed by on or upon. A physician to comment on your malady. --Shak. Critics . . . proceed to comment on him. --Dryden. I must translate and comment. --Pope.Comment
Com"ment\, v. t. To comment on. [Archaic.] --Fuller.Comment
Com"ment\, n. [Cf. OF. comment.]1. A remark, observation, or criticism; gossip; discourse; talk. Their lavish comment when her name was named. --Tennyson. 2. A note or observation intended to explain, illustrate, or criticise the meaning of a writing, book, etc.; explanation; annotation; exposition. All the volumes of philosophy, With all their comments. --Prior.Cite This Source
comment (n.)
Cite This Source
Main Entry: com·ment
Function: noun
1 often cap a : an essay analyzing, criticizing, or explaining a subject comment published in the Yale Law Review> b : an explanatory remark appended to a section of text (as of enacted code)
2 : an expression of an opinion or attitude about something: as a : a remark to a jury by a judge or prosecutor about evidence
NOTE: A prosecutor may not remark to the jury that a defendant's failure to testify implies guilt, and a judge may not remark to the jury his or her opinion about what the evidence does or does not prove. b : a written expression of opinion or information solicited by an agency about a subject of its rulemaking —see also INFORMAL RULEMAKING
Cite This Source
comment programming
(Or "remark") Explanatory text embedded in program source (or less often data) intended to help human readers understand it.
Code completely without comments is often hard to read, but code with too many comments is also bad, especially if the comments are not kept up-to-date with changes to the code. Too much commenting may mean that the code is over-complicated. A good rule is to comment everything that needs it but write code that doesn't need much of it. Comments that explain __why__ something is done and how the code relates to its environment are useful.
A particularly irksome form of over-commenting explains exactly what each statement does, even when it is obvious to any reasonably competant programmer, e.g.
/* Open the input file */ infd = open(input_file, O_RDONLY);
(2007-02-19)
Cite This Source
ɛnt