DEV Community

Madza
Madza

Posted on

Music or No music while coding?

As I've noticed, some devs see music as a distraction and absolutely hate it, while some won't write a single line of code without headphones on ears.

Which type of person are you and could you please elaborate a bit on your reasons behind it?

Latest comments (45)

Collapse
 
gspteck profile image
GSPTeck

I listen to a playlist in loop with al kinds of genres. I see why people say it should be avoided: I catch myself singing along sometimes lol. But I preferr music with lyrics over no lyrics. I would prefer to not listen at all at that point.

Collapse
 
phoohtoo profile image
Htoo Aung

Sometime music, sometime no music. bro.

Collapse
 
mtsafe profile image
Albir Tarsha

I could see using music to set a mood if I were creating something artful. However during problem solving or any deep thinking task I believe that music interferes with maximum productivity.

I quit music during studying in college. I was taking a test and I noticed that while I was testing I would hear the music that I studied with. My conclusion was that my brain was taking in all of the sensory information and storing it together even though there was no logical reason to associate my studies with what I was listening to.

The sense of hearing wires deep into the brain. So I don't think you can truly block out sounds even though it may seem like you can. The information in the music is not directly streaming to /dev/null . You are processing it. Otherwise there would be no difference in listening to music while coding, and in that case you would not feel a desire to listen to music while coding. I am quite certain that coding in silence is most effective and efficient.

Collapse
 
straleb profile image
Strahinja Babić

I mostly go with Music, even if it gets stressy when the code doesn't work music takes my mind off it, makes me calm and to finish the job :)

Collapse
 
master_elodin profile image
Alexander Oguejiofor

Definitely music. New age or rap.

Collapse
 
seanolad profile image
Sean

I'm a music guy, it helps me unwind so I can focus on the task at hand instead of other things I'm thinking about, or other people.

Collapse
 
daradedesign profile image
Dallas DeGrendel

I like Trip Hop for coding. Lyrics pull my focus.

Collapse
 
memahesh profile image
Medam Mahesh

Changes from time to time. If I am doing a boring task that I hate to do, I just play a Jazz playlist. When the work is important and hard, I don't take any chances

Collapse
 
munch141 profile image
Ricardo MΓΌnch

Music!!! And almost always the same playlist, it seems to me that my brain made an association between some playlists and working, so when I sit down and put certain music on I kinda go into production mode haha

Collapse
 
mukunda profile image
Mukunda Johnson

Music is my fidget cube.

Collapse
 
geekpulp profile image
Glen Young

Generally not music, but I do play thunder and lightening sounds. A bit of background noise is helpful.

Collapse
 
valorm profile image
Valorm

Music because it helps me focus so much better. Any genre of music puts me in the mood. Most of the time hip-hop and pop.

Collapse
 
jonrandy profile image
Jon Randy πŸŽ–οΈ

Depends on the job in hand. Generally prefer music, but if intense brainpower is required then switch it off

Collapse
 
carlosiscoding profile image
Carlos Arredondo

Music. Mostly because it drowns out all the noise around me and allows me to focus better. I do get distracted by conversations or people moving around me. A good pair of noise cancelling headphones and some music with no lyrics and I can work for hours.

Collapse
 
rcmedeiros profile image
Rafael Medeiros • Edited

Before noise canceling headphones, with music which I knew by heart, order by album and year. Those ones can't steal much processing power like a random playlist would as long as they keep predictable in every channel.

Then, noise canceling headphones, anti-social t-shirt and a reputation for being rude when interrupted FTW;

But now with quarantine where I have a whole room to myself, a shut door will suffice. Never want to leave home office again. \o/

Collapse
 
justsharkie profile image
/*Sharkie*/

I need music to focus at all, sitting in silence is sooo much more distracting. And this applies to everything I do, if there's not music/noise/something in the background I get antsy and distracted from whatever I'm doing.