Hacker News new | ask | show | jobs
by PeterStuer 149 days ago
It often takes me 3-4 iterations with a coding assistant once you get to a working solution, to get one that still works but is simplified down ditching >80% of needless complexity introduced in the first take.

Many stop at the first thing that works. This is totally fine for code that will run once to get a result and then be discarded. But if that code is going into a product or service that will be maintained, you have to have the knowledge and the will to push further until you have not just a working but a lean, clean and simple solution.

1 comments

I have this problem with UX Pilot or Stitch for wireframes that I’ve been working on (from my low-fidelity paper ones to high-fidelity digitals). It takes so many prompts to get the model to do what I want, what’s the point?

UXP costs money, you still pay for the many iterations where it’s their product that did a poor job.

So perhaps with code we’re on the same boat. Since tokens aren’t free, people will stop early/at first working iteration to save money.