Productivity was something I struggled with for many years.
At times I was the best employee, and others the worst. Have a tricky problem to solve? Or a complicated architecture. I was the right guy for the job. Need to build 200 variations of the same feature. I was horrible.
Chief problem being that anything boring was physically painful to me.
Pair programming helped a lot, but those gigs are hard to find.
Eventually diagnosed with ADHD. Completely shocking to experience “normal” with medication. I no longer take any medication (BP), but I can somewhat deal with boring stuff now, where before I could not.
Feels like I learned how to focus. The physical pain part is gone.