Appearance
Comments and text: one of the ways AI coding agents bloat software, from lessloc's pattern catalog. lessloc catches it as comment-block and comment-density.
comment-block
comment-density
The standard that calls it a bad practice: Clean Code: Too Much Information.
lessloc catches it as comment-block and comment-density.
maxCommentRatio
The other patterns in Comments and text:
narration
history
stale-doc
junk-file
unrequested-doc
doc-removed
long-instructions
Comment blocks and comment-heavy changes
Comments and text: one of the ways AI coding agents bloat software, from lessloc's pattern catalog. lessloc catches it as
comment-blockandcomment-density.What makes comment blocks and comment-heavy changes a bad practice?
The standard that calls it a bad practice: Clean Code: Too Much Information.
What does lessloc do about comment blocks and comment-heavy changes?
lessloc catches it as
comment-blockandcomment-density.comment-block(tier 3): A comment block of 6 or more lines.comment-density(tier 3): Comments make up more thanmaxCommentRatioof a file's added lines.Related patterns
The other patterns in Comments and text:
narration.narration.narration.history.narration(three or more in a file).stale-doc.junk-fileand refuses it before it lands.unrequested-doc.doc-removed.long-instructions.