Skip to content

Formatting

Status: ⏳ PENDING

The inverse of this chapter's rules — practices to recognize and avoid. Each will get a junior-level definition, a real example of the harm it causes, and the clean alternative.

Anti-Patterns to Cover

  • 1000-line files
  • Inconsistent style within one team
  • Commented-out blocks for 'visual emphasis'
  • Tabs/spaces wars left unresolved by tooling
  • Horizontal scrolling (lines > 120 chars)
  • Magic vertical whitespace (every line spaced out for 'breathing room')

See the chapter README for the positive rules.