Music has a strong influence on a myriad of things. Art, writing, exercise, studying. It might help you focus, relax, cheer up. And most important: it could help you write badass code.
Music I program to
I've set up a Spotify playlist where I collect great programming tunes. Mostly techno and other computer related genres.
Programming playlist by Johan Opens Spotify
I especially like the Tron soundtrack (who doesn't), Nine Inch Nails and Daft Punk. It's hard not to feel the kick when these epic melodies are doing their thing.
Other notable playlists to check out:
More suggestions on great programming songs are welcomed!