You have endless areas to noodle on solutions to avoid issues; you work hard to avoid working hard (strong ADHD trait) and interruptions are either fine and they fuel you completely: or you cannot work with interruptions at all.
Anecdotally: I was a sysadmin (that coded) and I got pretty close to an ADHD diagnosis but was warned off of it by the Swedish health authority (I've talked about it before on HN; basically that my insurances would increase and it could affect mortgages, cannot hold certain vehicle licenses etc;).