logoalt Hacker News

justinlivitoday at 12:47 AM4 repliesview on HN

I find myself spending on average more time in LLM review/resolution loops than it would take for me to write the code by hand. Partially because once I'm in the flow I write very very quickly and the code pours out sometimes faster than I can write. But also because the LLM code on the first few tries is generally really really bad. What I find interesting though is that spending the time to personally review and direct the LLM through several iterations of review and revision on average results in higher quality code written in about the same time as I would have written it. This might be particular to me, but seeing several interations of someone else's code helps me better understand holistically my objective as opposed to whatever happens to come out of my flow-state consciousness.


Replies

zahlmantoday at 5:30 PM

>the code pours out sometimes faster than I can write.

Meaning that you type the code faster than you would normally type prose? Or just what?

youre-wrong3today at 7:21 AM

[flagged]

show 3 replies
ziktoday at 1:36 AM

If your AI is writing bad code then you need to change your AI. No current high-end AI should be producing bad code.

show 5 replies
gitaariktoday at 7:34 AM

This feels like a comment from 2 years ago; by now the most modern models write much better code than humans can in much shorter time.

But if you're not used to code reviewing, it can certainly help to still write yourself.