anti-pattern @team/anti-pattern-comment-explaining-bad-code

Comment Explaining Bad Code

Adding a comment to explain why a piece of confusing code works, rather than rewriting the code to be self-explanatory. The comment is a symptom; the underlying code is the disease.

Skill
@team
Domain
coding-style
Version
1.0.0
Quality
0.0
Edges
0 out · 0 in
Tokens
63/300/598
$ aoe install @team/anti-pattern-comment-explaining-bad-code

Projection

Always in _index.xml · the agent never has to ask for this.

CommentExplainingBadCode [anti-pattern] v1.0.0

Adding a comment to explain why a piece of confusing code works, rather than rewriting the code to be self-explanatory. The comment is a symptom; the underlying code is the disease.

Source

aoe-engine/examples/coding-style/primes/compiled/@team/anti-pattern-comment-explaining-bad-code/atom.yaml