comment

(redirected from Commenter)
Also found in: Dictionary, Thesaurus, Legal.
Related to Commenter: at least, swayed, called off

comment

[′käm‚ent]
(computer science)
An expression identifying or explaining one or more steps in a routine, which has no effect on execution of the routine.

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);
References in periodicals archive ?
This decision will increase the number of divorce cases, particularly with husbands who cannot manage their anger," Sa'ad, a commenter, said.
The only reason he's taking up so much space is because Winter is coming," one commenter added.
As much as I hate Sharapova being upset in the first round, I'm relieved that her dress is out of the tournament," wrote one commenter on the tennis blog Busted Racquet.
The commenter expressed concern, based on 2003 HMDA data, that Associated Bank lagged its competitors in home mortgage lending to minorities and on properties in substantially minority census tracts in the Milwaukee MSA.
There is no perfect screening test," wrote online commenter dkopans.
Another commenter said that the woman was mature enough to select her own husband and decide on the future of her life.
com commenter "CatoTheElder" in response to "Eric Holder's Prison Break" (November)
Certainly there are many more worthwhile causes to take up than to cast aspersions from your superior patronizing fingers," said commenter Richard Lynch.
Nobody fits the typical role of a mother, unless you are June effing Cleaver," wrote one frustrated commenter.
However, one commenter, writing under the moniker of Sea Without Beach, said that more details should be added in the shaming notice to allow consumers to identify the shop and avoid it.
com commenter "Whiskeyvac 5000" in response to "Big Labor Stumbles in Wisconsin" (October)
pulled the controversial advertisement Wednesday after the company was gaining attention following social commenter Dr.