Hacker News new | ask | show | jobs
by Thews 89 days ago
I ran go's deadcode against your repo, it says there are 44 unreachable functions. If you add guardrails like static analysis tools to a pre-commit you can make LLMs tighten things up.
1 comments

Unfortnately, deadcode flags library API functions as "dead" if they're not consumed by the cmd.

yoloAI is intended to be consumed both as a library and as a standalone binary, and the public 80/20 API surface isn't yet mature enough to make a -filter list worthwhile.

This did give me ideas for some other checks I can add, though! :)