top | item 43930078

(no title)

hallh | 9 months ago

Having linting/prettifying and fast test runs in Cursor is absolutely necessary. On a new-ish React Typescript project, all the frontier models insist on using outdated React patterns which consistently need to be corrected after every generation.

Now I only wish for an Product Manager model that can render the code and provide feedback on the UI issues. Using Cursor and Gemini, we were able to get a impressively polished UI, but it needed a lot of guidance.

> I haven’t yet come across an agent that can write beautiful code.

Yes, the AI don't mind hundreds of lines of if statements, as long as it works it's happy. It's another thing that needs several rounds of feedback and adjustments to make it human-friendly. I guess you could argue that human-friendly code is soon a thing of the past, so maybe there's no point fixing that part.

I think improving the feedback loops and reducing the frequency of "obvious" issues would do a lot to increase the one-shot quality and raise the productivity gains even further.

discuss

order

kubav027|9 months ago

Unless you are prototyping human-friendly code is a must. It is easy to write huge amounts of low quality code without AI. Hard part is long term maintenance. I have not seen any AI tool helping with that.

conradkay|9 months ago

I find that there's an very high correlation between code I'd expect to confuse humans and code which confuses/breaks LLMs

When you let them pump out code without any intervention, there becomes a point where they start introducing bugs faster than they get fixed and things don't get better