DEV Community

Discussion on: Why do some developers listen to music while they code?

Collapse
 
lnstrngr profile image
Mike Headley

I learned a long time ago that I could do two things at once with my brain, given that the activities were different enough to not collide. In some way, they complement each other and I end up more focused. Usually one is considered more mindless than the other, but I don't believe that to really be true. I think they just require different aspects of my attention and perhaps in some way I detach one of the "processes" to my subconscious.

To me, listening to music is one of those activities and can be a "planned distraction." It activates a part of my brain that I don't use for coding or writing and stimulates it, reducing the pull that other distractions may have.

Another example is doodling or drawing while listening to a lecture. I am less prone to drifting off or diverting my attention when I am focused on the paper in front of me with my eyes and fingers, leaving my ears to listen to the speaker.

If you drive, you probably do this already. At some point driving becomes that "mindless" task and you are able to have conversations or more actively listen to the radio or podcast.

Everyone is different, and a pairing that works for one person might not work for another.