DEV Community

Madza
Madza Subscriber

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 (43)

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.