DEV Community

Vincenzo
Vincenzo

Posted on

what is the best music genre to program with?

...And why it is dubstep/drum&bass?

Jokes apart, I am not a mdma type of guy, that goes dancing in clubs and stuff like that, but when I am writing code, for some weird reason I can concentrate better with this kind of music.

Probably because is simple and upbeat, and does not make you think.

what about you?

Just if someone is interested, I do have a small "coding playlist" in here.

Top comments (31)

Collapse
 
mfurmaniuk profile image
Michael

Depends on what I am doing, a lot of the time I am listening to podcasts (history and politics which suit my outside interests) but when really working on problems it can be upbeat things or hard rock/industrial/metal which can get my blood pumping. Part of my issue is I can get easily distracted so I tend to listen to things a lot as they allow me to keep focus, which always makes people think I am on a call.

Collapse
 
andrewdcato profile image
Andrew Cato • Edited

I'm really bad at passively listening to things, so podcasts are out.

Most of the time, it's old hardcore (recently a lot of Bad Brains and Rollins-era Black Flag), Periphery or this low-fi hip-hop playlist.

Collapse
 
jesuswasrasta profile image
Ferdinando Santacroce

I don't always listen to the music while coding, but when I need to focus or avoid distractions I listen to Brain.fm.

From the FAQ:


Brain.fm makes music to help you do what you need to do, better. The company uses a patented A.I. engine to create music backed by scientific research to help listeners focus, relax, and sleep. While other music is primarily made to sound good and evoke feelings, Brain.fm works with teams of scientists and composers to engineer music specifically designed to help you enter particular mental states within minutes of use.

I'm not related to it, just a fan: it works very well, at least on my brain :)

Collapse
 
sleepyfran profile image
Fran González • Edited

As tuX0r mentioned Post-Rock is wonderful for this, specially some Godspeed You! Black Emperor, This Will Destroy You and the like, but lately I’ve been enjoying a lot some Jon Hopkins while programming, it’s electronic music with a lot of ambient influences that it’s just amazing to be focused and aroused at the same time!

Collapse
 
vikkio88 profile image
Vincenzo • Edited

if I'm working on something difficult or I'm struggling with a bug

that is my point in the other comment, when I work on something hard and I need to focus I need something upbeat, probably listening to classical music will kill my mojo

Collapse
 
wolfhoundjesse profile image
Jesse M. Holmes • Edited

It depends on the mood and environment for me, but on those days when people can’t keep themselves from busting in my office all day long, Gymnopédie No. 1 keeps me calm.

Collapse
 
baltz profile image
baltz

Prodigy, olds

Collapse
 
vasilenka profile image
.h

For me, it's something upbeat and rushing my heart, with no lyrics or something with lyrics that I don't know or I can't sing along with. for example korean music (I recommend BTS) or japan anime soundtrack like Attack on Titan and whatnot.

Collapse
 
chiangs profile image
Stephen Chiang

Like many here, depends on my mood and what I'm doing... Ranges from piano to pop to reggaeton to electronic. I think for me it correlates to how new/complex the task is... If it's something I've done a million times, the music can be as loud, varies and distracting as can be, but if I'm struggling or learning and need to stay calm, then piano keeps my fingers flowing...

Collapse
 
speculative profile image
Jeffrey Tao

A lot of days it's lo-fi hip hop on SoundCloud. Some days it's even the famous lofi hip hop radio - beats to relax/study to YouTube channel.

And then some days it's future funk/city pop and occasionally some vaporwave.

And some days it's k-pop! I don't speak Korean so the words don't bother me, but the upbeat music keeps me in a good mood while I work.