Many people take caffeine always, or never. But the evidence is clear: for some tasks, drink coffee -- for others, don't.
Caffeine:
- Impairs hippocampal neurogenesis and long term memory
- Narrows focus -- aiding short-term memory when the information is related to the current focus of thought, and making short-term recall more difficult when the information isn't related
- Increases short term recall of both true and false memories
- Increases short term memory and attentional control
- Increases memory retention and retrieval
So:
Use caffeine for short-term performance on a focused task (such as an exam).
Avoid caffeine for tasks that require broad creativity and long-term learning.
(Disclaimer: The greater altertness, larger short-term memory capacity, and eased recall might make the memories you do make of higher quality.)
At least, this is my take. But the issue is convoluted enough that I'm unsure. What do you think?
Selegiline goes well with caffeine.
Unfortunate association with cigarretes aside, nicotine lozenges or patches are easily accessible and provide some benefitial effects too, depending on what kind of performance you desire from your brain at the time. I don't recommend actually spiking the coffee with a nicotine lozenge. But, come to think of it I've never tried. Given how habit forming coffee is already, adding nicotine to the mix would be... interesting to say the least.