DEV Community

Discussion on: How do you avoid rabbit holes?

Collapse
 
andyrosenberg profile image
AndyRosenberg

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.

Collapse
 
hamstu profile image
Hamish Macpherson

Came here to say this! Such a great technique.

Collapse
 
andrewbrown profile image
Andrew Brown 🇨🇦

Yep, timeboxing is the best

Collapse
 
itsjzt profile image
Saurabh Sharma

Actually this way is used to prevent systems from infinite loop, in many domain specific languages