The obvious and correct answer is “it depends”. It depends on the problem, and the relative size of the problematic and non-problematic parts of the overall project.
Also it depends on the reasons for the problem, and why you think there will be fewer problems in a new attempt. Of course, THIS mistake probably won’t repeat, but others will happen—what underlying change are you making that’s less prone to mistakes?
The answer is on a continuum from “throw everything away and completely start over” to “patch this specific issue but stay the course for everything else”. Almost never is the best option at either endpoint—there’s a lot of salvage-able value that you don’t want to give up, and some ongoing pain from this problem that you don’t want to just live with forever. Exactly what to do depends on specifics.
The obvious and correct answer is “it depends”. It depends on the problem, and the relative size of the problematic and non-problematic parts of the overall project.
Also it depends on the reasons for the problem, and why you think there will be fewer problems in a new attempt. Of course, THIS mistake probably won’t repeat, but others will happen—what underlying change are you making that’s less prone to mistakes?
The answer is on a continuum from “throw everything away and completely start over” to “patch this specific issue but stay the course for everything else”. Almost never is the best option at either endpoint—there’s a lot of salvage-able value that you don’t want to give up, and some ongoing pain from this problem that you don’t want to just live with forever. Exactly what to do depends on specifics.