To me, the entire idea of performance-enhancing chemicals is the essence of Moloch (http://slatestarcodex.com/2014/07/30/meditations-on-moloch/) - the supposed optimization that we choose to "gain an edge" and end up worse off than if everyone had just been a bit more cynical and abstained. To what ends? Eventually this kind of thing ends up costing you $50 a month and keeping you on par with everyone else in the office (who also happen to brain-chemistry-hack), side-effects be damned.
Luckily, I can fall back on my experience and relative skill at programming. Many cannot - as a late-aughts college student and "yuppie", I saw "the best minds of my generation destroyed by madness" induced by incessant Adderall use in a futile attempt to either "keep up" or "get ahead". To what ends? Some sped their way through upper-levels or toiled through back-breaking entry level jobs only to develop near psychosis, emotional numbness, apathy, and a resume piece that I too gained with considerably less strife.
Don't get me wrong, I drink a cup of coffee (or two) in the mornings to get going, but it's usually an break from my workday, not an essential part of it. More than that, it's enjoyable - added focus and clarity be damned. Silly as it may sound, I've even seen coffee become a problem for the hopelessly driven and chronically sleep-deprived - reducing them to diarrhea-ridden, jittery maniacs!
Maybe the TL;DR here is: sleep more, bike hard, and have some fun struggling instead of constantly grinding for carrots on sticks. It is true, after all, that many people (men, in particular) say their greatest regret was working so hard - https://www.theguardian.com/lifeandstyle/2012/feb/01/top-fiv...