logoalt Hacker News

xnorswapyesterday at 4:35 PM1 replyview on HN

Unironically I agree.

One under-discussed lever that senior / principal engineers can pull is the ability to write linters & analyzers that will stop junior engineers ( or LLMs ) from doing something stupid that's specific to your domain.

Let's say you don't want people to make async calls while owning a particular global resource, it only takes a few minutes to write an analyzer that will prevent anyone from doing so.

Avoid hours of back-and-forth over code review by encoding your preferences and taste into your build pipeline and stop it at source.


Replies

jmalickiyesterday at 4:45 PM

And for more complex linters I find that it can be easy to get the LLM to write most of it itself!!!