If you get headaches then try drinking some water. Pretty simple.
Also, man you're a giant douche. Did someone piss in your fucking coco puffs today little boy? Shit.
The NYT examine this here: http://www.nytimes.com/2008/03/04/health/nutrition/04real.ht...
For myself, it's headaches and feeling "parched" (for lack of a better term), preceded by the usual coffee-smelling piss. I usually don't let it get that far, but once my head starts to ache I quickly switch over to green tea and/or water.
Whether the latest journal reports caffeine is or isn't dehydrating may be interesting, but should mean fuck-all to your daily routine. Don't look for authorization in science. Look for it in careful examination of your own experience.
[citation please] - I am genuinely curious about the current scientific consensus on that one, as IIRC I have heard the reverse claim in this talk: http://www.youtube.com/watch?v=dBnniua6-oM regarding Cola being stuffed with caffeine for both its normal effects and the diuretic side-effect (my memory could be failing me, of course).
Cheers,
It is by far not the best source of hydration, of course. You are much better off drinking water or (preferrably unsweetened) fruit/vegetable juices - or even just eating said fruit or vegetables. Hypotonic sports drinks have their place too, but not when your exercise consists of walking up to the fridge.
Sugar levels in juice compared to Coca-Cola: http://www.hookedonjuice.com/
Dr Davis' Goodbye Fructose: http://heartscanblog.blogspot.com/2009/07/goodbye-fructose.h...
Dr Robert Lustig's what happens when we eat fructose and why it's bad video: http://www.youtube.com/watch?v=dBnniua6-oM
Aside from the hydration, you're probably better off with even sweetened coffee than unsweetened fruit juice.
He might want to check with a GP to find out whether these are really problems that are common among programmers. When you've dealt with something yourself, it's easy to confirmation bias your way into thinking the ailments are common in your profession.
And maybe caffeine doesn't dehydrate everyone, but coffee sure as hell makes me sweat more. (Coffee dehydrates me, but tea doesn't anywhere near as much.)