If I'm trying to learn new concepts, classical is good--or no music at all. When I'm coding (and the most I'll have to do is look into documentation), I listen to techno and electronic stuff. A lot of stuff I do is iterative (especially when I'm doing design work), so the music keeps me creative.