NASA mission control celebrated with cigars when the mission was successful...
From my own experience, smoking sometimes helped me improve concentration and it gave me a 10 minute cigarette break every hour or so, during which I could do some out of the box thinking on the problem.
Tobacco is like a close friend/advisor which is always with you.
Had it not been for the health issues it provoked in me (circulatory/heart), I would still be smoking today.
Even as a non-smoker now, I still respect the plant and I'm grateful for our relationship which lasted for 20 years.
I think it has greatly influenced our (human) development. This is very hard to measure or prove, of course, but given the mystical status that shamans attribute to it ("most powerful plant in the jungle"), I would suspect that it had something to do with the giant expansion of human consciousness that we've experienced since it was introduced into "our" culture.
Good or bad, we don't know, it just did, since so many people use(d) it.
Here's an interesting take on the subject: http://realitysandwich.com/217970/meeting-the-tobacco-spirit...
Addicts to many drugs experience similar relief when they consume the drug to which they are addicted.
That and electronic cigarettes.
A few years ago, I got a diagnosis of ADHD and medication was a recommendation. Generic amphetamine salts are what I use now, both an extended (20mg) and quick release dose (10mg). They made more of a difference in my focus than I ever thought. Only problem is that my mind turns into a bullet, I do whatever work I start on with little to no distraction but I can easy end up wasting time if I get sidetracked right as the medication kicks in. Nicotine still has its place for me, I use it everyday to keep awake and alert for my work. Medication is strictly for days where I know I have don't have time for distractions.
Coffee has a milder effect than the medication but it's a nice, quick boost in concentration and alertness that can get me through a class or meeting. I usually avoid drinking it on days I take medication as I tend to feel a very strained feeling, it's very unpleasant sensation and I become hyperactive and careless with my work. Nicotine and coffee have a complementary feel, they have different effects but they fit nicely together.
I think stimulants are my favorite thing ever. I wouldn't be anywhere close to where I am now in my career without their help. Most of my weaknesses come from procrastination now instead of both procrastination and being easily distracted. I'm getting better at starting things on time now and with the boost of focus, I don't take as long getting my work done than in the past.
Taking this at face value, I wonder what impact such a drug could have on the productivity of a workforce, especially programmers.
I also wonder what has replaced it as the fraction of the smoking population declined over the last four or five decades.