It depends on the language. Things like assembler demand Nine Inch Nails, Atari Teenage Riot, and other really fast things. This is possibly due to the fact that I have the attention span of a whippet, and I need to be kept up to speed. C++ lends itself to distorted acid noise in the manner of mu-Ziq, LFO, Squarepusher and Aphex Twin. Possibly because this music is good at dispelling C++ induced rage. Java is pleasant to write with a bit of big band like Nina Simone or Fred Astaire (this is probably more to do with the fact that I was into that sort of stuff when I first learned Java than because there might be any relation between Java and big band). Other languages on request :)
On a similar note, does anyone else have a favourite drink for late-night hacking? Again, Java is quite red-winey. Assembler is vodka and mixer. Electronics work demands a good ale.
Hello HN. delurk