Absolute this ^^
As a developer with very strong, ADHD it's definitely a double edged sword but to me, a lot more of a disadvantage.
The advantages a wandering mind seems to bring, includes being more likely to consider the bigger picture on tasks/projects, see unconsidered risks and tend to find more novel or creative uses for things and unconventional approaches.
I'm consistently more productive at applying my knowledge to the tasks, however when acquiring new knowledge, which is probably the biggest part of my job, I fall very far behind.
Without ADHD medication, I am completely unable to read most documentation. I struggle with long sentences in emails and I miss much of what it said in meetings. The longer someone talks, the less I take in.
Peer reviews are particularly difficult for me, and I sometimes really struggle understanding undocumented or unclear code.
This is mitigated by the medication, it's not a brain pill that makes me smarter or gives me more concentration energy, it merely reduces these symptoms.