I had a friend of some reputation who learned to code C on basically cocaine and lsd.
Well, cocaine I can believe. Not that I have much experience with drugs at all, either personal or indirect, but as far LSD or other psychedelic drugs are concerned I find your claim at best extremely difficult to believe! Maybe he learnt C in a period in which he was also using LSD, but I doubt that he did code during a trip...
As far as pot goes/ if I smoke the stuff, I can't touch a computer for a week. It makes me feel like perl is just about printing html line by line.
Maybe because you, like so sadly many others still think that is a web-oriented programming language having mostly to do with "CGI & C."?
Alcohol makes me want to use windows machines. Fortunately, alcohol wears out. And I don't drink around computers just like I don't smoke around children.
Alcohol and *NIX can coexist, as long as you keep that minimum amount of lucidity needed not to drink and root!