When you're done with the first draft. Take a break, like 2-4 weeks, enough to forget it before you start rewriting. It cures you from the "blindness" and let you see it with fresh eyes
Anecdotally I've had the same experience when I go on long vacations and come back and look at all my code. "OMG What is this? It's clearly not as easy and understandable as I thought. Must rewrite immediately."
When you're done with the first draft. Take a break, like 2-4 weeks, enough to forget it before you start rewriting. It cures you from the "blindness" and let you see it with fresh eyes
Anecdotally I've had the same experience when I go on long vacations and come back and look at all my code. "OMG What is this? It's clearly not as easy and understandable as I thought. Must rewrite immediately."
Not to mention stuff you wrote years ago shudder