Earlier quoted context omitted.
I have mild ADD and tons of issues with migraines. Caffeine helps on both fronts. Do what's best for you, personally, and not what some internet stranger thinks is the correct way to function.
I know nothing about your medical issues, but to bring up a counter-point, it's possible that your 'mild ADD' and migraines are the symptoms of insufficient sleep quantity of quality. Medicating with caffeine could be counterproductive if that's the case.
I've also done sleep studies and endless 'preventative' medicines for migraines but nothing has worked so far.
Caffeine is definitely not a cure-all, and I don't want to argue that it's good to use, but it's also not fair to blanket statement and say that everyone should avoid it at all costs :)