DEV Community

Discussion on: Should I listen to music while coding?

Collapse
 
ninofiliu profile image
Nino Filiu

Well it depends on the mode

In creative mode, I solve complex issues that require all my focus. I shut down my music and give all my brain can give, but I can't maintain this state for 30+ minutes

In productive mode, where I code large chunks using techniques I already master. I don't need that much focus and I love having minimal techno/trance in the background, that's necessary for me to enter the flow state and stay there for hours

Collapse
 
poudyal_rabin profile image
poudyal_rabin

Exactly Nino.

Collapse
 
ninofiliu profile image
Nino Filiu

There's also the impact of the genre on the code I produce

If I listen to long minimal techno mixes I'll be able deliver massive amount of code and stay in the flow state for a long time

But if I plug some ambient electronic music I'll be able to get very creative in the patterns I use and code things I couldn't code in a silent room

And if I listen to hard eurotrance I'll be able to sit through coding a feature I don't like (・`ω´・)

Collapse
 
poudyal_rabin profile image
poudyal_rabin

That's correct Nino. I agree with you