There comes a point, somewhere late in the evening after my ADHD meds have worn off, where it's more productive to not do any coding. If I do, I'm just going to end up throwing most of it out tomorrow because it's a bunch of bug littered spaghetti.
Unfortunately, I also solve most of my big problems when I'm not staring at a screen. After which I have to resist the temptation to go work on it so I don't make a big mess. It's some kind of cruel irony.