GOTO - The Brightest Minds in Tech

Zig Programming Language & Linters • Andrew Kelley & Jeroen Engels

6 snips
Jun 23, 2023
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ADVICE

Linting Errors vs. Warnings

  • Enforce linting rules consistently to ensure code quality.
  • Avoid using warnings for linting rules, as they weaken enforcement.
INSIGHT

False Positives in Linting

  • Some linting rules, like code smell detection, might have unavoidable false positives.
  • Consider using assertions instead of disabling comments to address certain linting errors.
ADVICE

Interactive Linting Fixes

  • Use interactive linting tools that prompt for fixes to build trust and understanding.
  • Review individual fixes before applying bulk changes to avoid unexpected issues.
Get the Snipd Podcast app to discover more snips from this episode
Get the app