How do you define a stopping point of your task?

Hung Vu - Jul 22 '22 - - Dev Community

Let's say you have a task to go through, how to you know when to stop? Be it because you reach dead end, or your solution is good enough that more optimization may not worth the time spend.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .