A lot of people listen to music while coding, including me. The trick is which music will help to create an environment that encourages calm and productive code. Here’s a list of the music I listen to whilst coding:
Tycho – Extremely calm and mellow. Used for right when I get into the office in the morning. Personally I think his best album is Dive but he’s also coming out with more soon!
Blackmill – I’ve heard it described as “melodic dubstep”, great for late-night coding or if Tycho is too slow for you. I highly encourage you to check out his full album Miracle for his best work.
Boards of Canada – If you’re not into the electric or dubstep kinda music then this is for you. Technically electronic but more ambient rock. My favorite album of theirs is Trans-Canada Highway.
Solar Fields – I love the Solar Fields because there is almost no “rhythm” to their music, making it difficult for my brain to distract me from coding.