I've tried programming whilst high, but I find myself unable to do anything complicated, like design algorithms. So it's not very helpful. Anyone else had different experiences?
OK, I know you faggots are going to laugh at this, but I listen to Autechre, specifically this album: http://bit.ly/bo1KWT. It's great programming music.