Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The cost of custom linters has like any other code dropped through the floor. I'm sprinkling all kinds of linters over my latest projects. It seems some people are still sleeping on this, expecting great code from the agents.

They're fast and deterministic and I run them in git pre-commit.



> expecting great code from the agents

Yeah, I'm not sure what people are thinking. I keep reading stuff from folks like "I wish models had more common sense" and "I wish they wrote better code", not realizing this is 100% in your own hands, always been. There is no such thing as "clean code" that every programmer agrees on, you have your own subjective opinion and "good" taste about the code, instruct the models to follow it! And automate it while you're on it.


> They're fast and deterministic and I run them in git pre-commit.

Isnt that too late? I would want the agent to stumble into this as early as possible in the agentic loop, eg at the same time as compiler.


It's been working quite well so far and I don't know of any way of hooking custom linters into cargo so they run after compilation.

But that's a pretty good idea, wonder if there is a way...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: