I've found myself in a situation now where I am almost unable to code without being stoned. When I began smoking, I got over more than a decade's of insecurity over being a sysdadmin who couldn't "really code". Now it's sort of intertwined. Without being stoned, I just stare at my screen then switch to a news site after a few minutes, then repeat.