Timebox yourself. At work I drudge through 10y/o legacy code, so I get into this situation from time to time. Typically I’ll give myself x amount of time to look at a problem from one angle before stepping back to think of any other solutions.
Came here to say this! Such a great technique.
Yep, timeboxing is the best
Actually this way is used to prevent systems from infinite loop, in many domain specific languages
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Timebox yourself. At work I drudge through 10y/o legacy code, so I get into this situation from time to time. Typically I’ll give myself x amount of time to look at a problem from one angle before stepping back to think of any other solutions.
Came here to say this! Such a great technique.
Yep, timeboxing is the best
Actually this way is used to prevent systems from infinite loop, in many domain specific languages