logoalt Hacker News

rectangyesterday at 4:53 PM1 replyview on HN

> Expert reviews are just about the only thing that makes AI generated code viable

I disagree, in the sense that an engineer who knows how to work with LLMs can produce code which only needs light review.

* Work in small increments

* Explicitly instruct the LLM to make minimal changes

* Think through possible failure modes

* Build in error-checking and validation for those failure modes

* Write tests which exercise all paths

This is a means to produce "viable" code using an LLM without close review. However, to your point, engineers able to execute this plan are likely to be pretty experienced, so it may not be economically viable.


Replies

marginalia_nuyesterday at 4:55 PM

By the time you're working in increments small enough that it doesn't introduce significant issues, you really might as well write the code yourself.

show 1 reply