logoalt Hacker News

johnsmith1840yesterday at 4:38 PM1 replyview on HN

When you get stuck in a loop it's best to remove all code back to a point it didn't have problems. If you continue debugging in that hammering failure loop you get TONS of random future bugs.


Replies

anamexisyesterday at 5:54 PM

I've had good luck doing something like this first (but more specific to the issue at hand):

We are getting stuck in an unproductive loop. I am going to discard all of this work and start over from scratch. Write a prompt for a new coding assistant to accomplish this task, noting what pitfalls to avoid.