ADHD may be a part of it but mentoring and some experience with TDD or strong unit testing is also a part.