Weak 10% ABV wine would be 20 units. Normal 12.5% ABV would be 25 units. Strong 15% ABV wine would be 30 units.
UK advice is no more than 3 to 4 units per day for men, with a couple of days free of alcohol and no "saving up" of units for a binge. (The old advice was 21 units per week for men.)
http://www.nhs.uk/livewell/alcohol/Pages/Alcoholhome.aspx
Drinking above that limit long term has some health consequences
http://www.nhs.uk/Livewell/alcohol/Pages/Effectsofalcohol.as...
Problem drinking has several definitions, but NICE recommend assisted withdrawal at 30 units per day. (15 to 20 per day if there are co morbid severe mental health problems).
I don't care if people use cannabis (and I am strongly in favour of legalisation) but I fucking hate the refusal of many cannabis users to even contemplate any negative effects of cannabis.
Don't get me wrong; I don't refuse to contemplate the negative effects of cannabis, of which quite a few have been hypothesized, some observed. When I said "alcohol is probably much worse than weed," I didn't say "weed is a free lunch." Just want to make sure I'm clear on that.
There are cannabinoid receptors in the brain (and other organs). Our current understanding of them is far from complete, and we know that smoking weed habitually will reregulate them, and not necessarily for the better. I'm not one of those hippy-dippy types who thinks there are no ramifications involved in smoking weed.
I would say that your current experience with programming is probably more a reflection on how much what you are programming actually interests you. You might be able to think of programming like painting; maybe you are painting a picket fence and find it to be the most boring thing in the world, or maybe you are painting a bunch of robots blowing each other up on a canvas. Some programming is dull and tedious, some programming is exciting and vibrant. Some people just don't like painting, and prefer pottery.
Can weed help? That seems plausible to me. Weed can make a shitty movie seem better, maybe it can help you enjoy your programming work more.
If you want to try that out, I recommend a sativa strain, not indica.
I started out as a [web and print] designer in my late teens and was stoned all the time. It seemed like a dream to me - stoned and productive. As I moved into programming in my early twenties, I found myself completely unproductive when high. Very much akin to reading a book while very stoned, where I'd find myself reading the same page for a while, and then while trying to focus, read the same sentence 20 times and realize I haven't comprehended a thing. My attention span wanders far too much. And now, about 15 years into my profession as a programmer, any more than the smallest toke will make me completely incapable of coding effectively (though I can generally think programming problems through just fine).
As a comparison, I've programmed drunk plenty of times. These days, after a couple whiskeys, I'm fairly useless - although I think that's more a case of "I'd rather relax than work" over being incapacitated.
I never tried drunk, but I doubt it would work for me.
There have been conflicting and sometimes contradictory reports on coffee's effects on cancer, cardiovascular disease, etc. Many studies suggest coffee has anticancer properties; other studies suggest it promotes certain types of cancer. Same thing with arteriosclerosis.
In terms of dependency, caffeine has been shown pretty conclusively to be habit-forming and dependence-forming. Almost anyone who's been a longtime coffee drinker and quits cold turkey will experience the side effects. But it's not clear whether coffee is doing you long-term harm, long-term good, or some combination of the two that nets out to being positive, negative, or neutral.
For my part, I've been drinking coffee every day since junior high. My stance is that it's been a net-positive in my life, regardless of what price I may pay later on. But that's one man's opinion. Not a scientific observation.
Also worth noting: coffee, marijuana, and alcoholic beverages are complex substances. There are active compounds in coffee other than caffeine. There are active compounds in alcoholic drinks other than ethanol. There are active compounds in weed other than THC. Studies that isolate the effects of any of these compounds aren't necessarily indicative of the effects of the substances themselves.
I'm not a teetotaler by any means. I drink a couple of glasses of something pretty much every other day. But that's about the limit of what a healthy, adult male should be drinking. Any more than that, especially over the long run, and you're setting loose a lot of chickens that will come home to roost when you're older.
I don't smoke weed with nearly the frequency I did when I was young. That's got less to do with my beliefs about its health effects, and more to do with being too busy. But every now and then, sure. Sharing a couple of beers and a joint is a fantastic social experience.
On a related note: SF is one of the most weed-friendly towns I've ever lived in, and there is virtually no stigma whatsoever here. One time I saw a dude light up right outside the freaking airport baggage claim, in broad daylight, and nobody around him seemed to care.