Skip to content

Placeholders: # ... existing code ..., "your code here" ​

Code nobody needs: one of the ways AI coding agents bloat software, from lessloc's pattern catalog. lessloc catches it as placeholder and refuses it before it lands.

What makes placeholders (# ... existing code ..., "your code here") a bad practice? ​

The standard that calls it a bad practice: CWE-546.

What does lessloc do about placeholders (# ... existing code ..., "your code here")? ​

lessloc catches it as placeholder and refuses it before it lands.

  • placeholder (tier 0): A placeholder such as # ... existing code .... Refused before it lands.

The other patterns in Code nobody needs:

Released under the Apache-2.0 license. · llms.txt