11 ms·
"Do you listen to music while coding?" An analysis.
- JSig 16y agoWhen coding I usually only listen to music if it's an album that I have listened to at least 5+ times. This works for me in that my brain seems to know exactly what parts/songs are coming next and they are no surprises/distractions. Mixes and things like last.fm are no good because I always have to stop to see what is playing.
- DannoHung 16y agoI listen to one particular song that I've found very mellow and repetitive (the album cut of DJ Shadow - What Does Your Soul Look Like [Part 4]). It helps remove outside noise and get me in the zone quicker. I just stick it on repeat. It segues in and out to itself nicely too. I was thinking about getting some other ambient music, but it can be hard to set up a good playlist.
- steveklabnik 16y agoPersonally, my friends and I have started listing to Dubstep. Just few enough vocals to be distracting, but still interesting.
- krakensden 16y agoPersonal collections or something like glitch.fm?
- steveklabnik 16y agoEither by typing "dubstep" into Pandora, or http://dubstep.fm/ http://dubstep.fm/ I'll check out glitch, though, thanks!
- davidcuddeback 16y agoI was hoping this was going to be an analysis of how listening habits correlate with productivity. I'm sure it comes down to personal preference and a host of other factors, but it'd still be interesting to see if there's a statistical difference between different genres or no music at all.
- tomstuart 16y agoI find it very hard to concentrate while listening to music, but even harder while overhearing other people's conversations, so occasionally the headphones must go on. Of course, headphones also mildly discourage others from interrupting, but that's no way to live your life.
- hkon 16y agoOh the joy of an open office landscape!
- InclinedPlane 16y agoFor the life of me I don't understand why cubicles are the norm for developer offices. There have been numerous studies showing the productivity effects of open offices vs individual offices. And many more studies on the importance of concentration and the destructive power of interruptions. Do people value programmer productivity so little that they're willing to throw so much of it away to save a few dollars in real estate costs?
- randallsquared 16y agoI used to be an individual office partisan, but after working for a coupla years in cubes with walls that come to a sitting person's neck, I find that there are a lot of benefits: I can just turn (and scoot across my cube, if necessary) to ask or answer questions of a co-worker; I can hear when people begin chattering, which is a sign that something is going on that I need to pay attention to, like the site being down or a discussion about some coding question; I have long lines of sight in at least some directions, which is nice for my psychological well-being, especially in contrast to some office without an outside window. The main thing, though, is serendipity: overhearing party A ask party B a question to which party B doesn't know the answer, but I do, or hearing people planning to have a meeting I'd want to be in, but which they don't know I'd want to attend, etc. A closed office would be slightly more useful when head-down coding for hours or days at a time, but so much of my time as a developer is spent chatting about coding, helping people solve language or environment problems, talking with users who wander in looking for help, and other miscellaneous interpersonal activity that a closed office would hamper my job quite a lot.
- StanDarsh 16y agoAOL Radio 00's and 90's Alternative channel, sucka!!!!
- DevX101 16y agoI don't listen to music with words. My brain's language processing unit goes into action, and disrupts my ability to code. Instrumentals, electronic music, or classical music are fine.
- kingsidharth 16y agoyah, a friend of mine claims that he listens to 'death metal' while coding - I don't believe that.Personally I go for 'Raag Deshkar' - Indian Classical Music. it's just amazing for productivity and if you want to feel like it's morning. (There are particular time every 'raag' should be played
- jamesbritt 16y agoI've used death metal to help get through code crunches. Quite helpful.
- jfb 16y agoThis. 100% this. Although, there are times, particularly when deep-diving into someone else's trainwreck, where you know that futility and defeat are the order of the day, when I'll put on Godspeed! You Black Emperor's "Dead Flag Blues": The car's on fire, there's no driver at the wheel and the sewers are all muddied with a thousand lonely suicides. Sorta sets the mood.
- iuguy 16y agoI've found when doing network pentesting there's a very different set of music that works well for me compared to web app pentesting. For network testing I tend to start with movie soundtracks before moving up to rock instrumentals like east Hastings then on to harder and harder rock/metal before hitting cradle of filth. On web app tests I normally find plaid or other ambient electronica works better for me. For coding I find that swing, jazz and blues works best. I've been listening to a lot of cab Calloway of late which is mostly instrumental or scat focused. If theres too much by way of lyrics or if it's too catchy it tends to disrupt my concentration though.
- 16y ago
- axod 16y agoI watch movies and TV comedies while I code often. If not, I usually have music TV on. Working from home rocks.
- indrekj 16y agoI can't stand total silence. There must be some music, people or I'll go crazy.
- baddox 16y agoI love music, but I've never been able to work while listening to music. If it's music I enjoy, it consumes my attention (see quote below), especially if I'm familiar with the specific songs. I don't like listening to music on "broadcast," so I'll almost never enjoy a Pandora station even of a genre I generally enjoy. "Music is the pleasure the human soul experiences from counting without being aware that it is counting." -Gottfried Leibniz
- Tycho 16y agoI now listen to white noise while coding. I have an mp3 called 'Lost In Space' from a CD called 'White Noise Therapy,' which I play on repeat. It's the sort of sound effect they use in sci fi films when a big space freighter drifts onto screen. It helps because I can turn it up to shut out other sounds, but there's nothing there to follow or analyse whatsoever. I get a nice clear head with that. Sometimes though if my concentration is more robust for whatever reason then I can afford to listen to some music - usually instrumental jazz or classical.
- wazoox 16y agoDo you know http://www.simplynoise.com/ http://www.simplynoise.com/ ?
- raghava 16y ago:) I use White Noise app on Android and use Extreme Rain or Beach or Windchime sounds. Also, instrumentals without vocals (taken from Jamendo [particularly that of artists Silence / StrangeZero], or mellow ones (SomaFM Lush) are others that I play in background. Helps me a lot. >>instrumental jazz or classical hmm. Even this, I like. Jazz / classical piano/violin. [ e.g, OSTs from The Conversation, by David Shire]. At times, even celtic music helps for me.
- lbrdn 16y agoI've been using nature sounds recently. No words, no song changes, and relaxing.
- blhack 16y agoI actually listen to television while coding, almost always Futurama or It's Always Sunny in Philadelphia. I've gone through all of the seasons of Futurama 3-4 times in the last couple of months (at least it seems that way), and gone through the latest season of "Sunny" about the same. Something about Futurama especially is just the right (I don't have a property to describe this...) color to keep my brain right in the sweet spot. I actually feel a bit bad for netflix because of this. I'm almost constantly streaming futurama in my house, it wouldn't surprise me if they were losing money on me as a customer.
- atldev 16y agoI was never able to listen to music while coding until someone here on HN suggested creating an Abakus channel on Pandora. Now it's Pavlovian, and I find I'm able to get into flow sooner. Even if it's psychological, I'll take it.
- deleted 16y ago[deleted]
- jakerocheleau 16y agoIt may seem cliche fancy but I can go for hours with smooth jazz sax in the background. no lyrics help me focus on the task at hand while my mind can be in a relaxing/stimulating environment. By this I mean most jazz music is slow-tempered and chill-out while also offering impressive musical talent for lead instruments (sax solos, piano, strings...). This is just what works for me - a buddy of mine swears on the Kingdom Hearts soundtrack.
- endtime 16y agoI guess I'm in the 22% that listens to either rock or hard rock...but it has to be my own music collection. If a song I've never heard before comes on, I'm liable to get distracted.
- joshfinnie 16y agoGive me some Synth Pop anytime when I am working. I don't mind the words for two reasons: 1) usually they are distorted enough for me not to really understand them or 2) I know the song so much singing along is a nice break. Try out some Hot Chip next time you are in the coding zone and tell me you are not in love ;-)
- briancurtin 16y agoI usually end up listening to bands like Sunn or Om. Super slow, heavy, and they don't take over what I'm doing. When I put on faster paced metal of any variety I find myself tapping my feet with the bass drums and then tapping with my fingers, then I'm hooked.
- blocke 16y agoI think oomwriter (http://www.ommwriter.com/en/ http://www.ommwriter.com/en/) is a good demonstration of ambient music and typing sounds. Sadly the editor sucks for coding and I deal with three platforms, not just Mac. I freaking love this little music track from oomwriter: http://www.youtube.com/watch?v=DbwNmPK9kGA http://www.youtube.com/watch?v=DbwNmPK9kGA I've been trying to assemble a collection of similar ambient music and haven't yet figured out the magic words to feed Google. Edit: Oh hey, the youtube vid mentions the composer put together an album. Must buy.
- davidchua 16y agoI've been trying to find out music like this on shoutcast! If you know of any streams that play this type of music, do share.
- JangoSteve 16y agoI'm surprised hip hop isn't on the chart at all. Am I the only one who listens to it while coding? I switch between that and hard rock. I've never really had any problems with words in music being a distraction. I read somewhere that singing and talking/writing are two completely separate parts of the brain, which is why some stroke or brain damage are able to sing before they can talk. Also, I prefer speakers to headphones, which is one of the reasons I opted for an actual office instead of working out of a coworking space.
- jat850 16y agoI echo your tastes, probably. I bounce around from The Prodigy to Nine Inch Nails to A Tribe Called Quest, to Tool or Rage Against the Machine. And I find listening to music of any kind helps me fall into zone-coding a lot faster.
- notyourwork 16y agoWas going to say the same myself but saw you said it first. Hard Rock/Rap is my usual choice for coding sessions.
- ams6110 16y agoI like to listen to older funk. wefunkradio.com is my go-to online music source. Classical is good too, but lately I've not chosen that much.
- adestefan 16y agoLately I've been listening to a lot of The Roots while working. I can pop on the head phones and get into an instant flow to them.
- contextfree 16y agoIt really depends on the situation. If I have a clear direction to go in music can help keep me in the zone, especially jazz. If I'm unsure, it can just be distracting.
- brianmwang 16y agoI'm a huge metal head, but unfortunately most of that music easily distracts, whether it's the vocals, some killer riff, a favorite solo, etc. I think a big reason I've been adding some post-rock (Sigur Ros), trip-hop (Massive Attack) and dubstep (Burial) to my playlist is because they're moody yet rarely depressing. The vocals are minimal, the beats slow paced, and the samples interesting but not distracting. A new favorite of mine these days is the Lush channel on Soma FM.
- chegra 16y ago"During the 1960s, researchers at Cornell University conducted a series of tests on the effects of working with music. They polled a group of computer science students and divided the students into two groups, those who liked to have music in the background while they worked (studied) and those who did not. Then they put half of each group together in a silent room, and the other half of each group in a different room equipped with earphones and a musical selection. Participants in both rooms were given a Fortran programming problem to work out from specification. To no one's surprise, participants in the two rooms performed about the same in speed and accuracy of programming. As any kid who does his arithmetic homework with the music on knows, the part of the brain required for arithmetic and related logic is unbothered by music—there's another brain center that listens to the music. The Cornell experiment, however, contained a hidden wildcard. The specification required that an output data stream be formed through a series of manipulations on numbers in the input data stream. For example, participants had to shift each number two digits to the left and then divide by one hundred and so on, perhaps completing a dozen operations in total. Although the specification never said it, the net effect of all the operations was that each output number was necessarily equal to its input number. Some people realized this and others did not. Of those who figured it out, the overwhelming majority came from the quiet room. Many of the everyday tasks performed by professional workers are done in the serial processing center of the left brain. Music will not interfere particularly with this work, since it's the brain's holistic right side that digests music. But not all of the work is centered in the left brain. There is that occasional breakthrough that makes you say "Ahah!" and steers you toward an ingenious bypass that may save months or years of work. The creative leap involves right-brain function. If the right brain, is busy listening to 1001 Strings on Muzak, the opportunity for a creative leap is lost. The creativity penalty exacted by the environment is insidious. Since creativity is a sometime thing anyway, we often don't notice when there is less of it. People don't have a quota for creative thoughts. The effect of reduced creativity is cumulative over a long period. The organization is less effective, people grind out the work without a spark of excitement, and the best people leave."-Peopleware[http://www.amazon.com/Peopleware-Productive-Projects-Teams-Second/dp/0932633439 http://www.amazon.com/Peopleware-Productive-Projects-Teams-S...]
- gruseom 16y ago
- kgutteridge 16y agoregular listener to the following online radio stations, falling in that 22% who listen to electronic Sense.fm (trance), chilltrax, Trance clubber I think the main reason is when in the office environment other peoples conversations is more distracting than music, so a good pair of headphones really helps
- ScottBurson 16y agoInteresting. I find the only kind of music I can listen to that doesn't seem (as far as I can tell, at least) to interfere with my ability to do hard creative work is deep ambient: Steve Roach, Robert Rich, that kind of thing.
- yesno 16y agoMusic or not I'm guessing the problem that most people (programmers, in this case) have is the inability to focus/concentrate for a certain period of time and what they do is to find something to cling on. What if maybe the way we work as a developer can be improved? What if we should think outside the box and be a problem solver not just in coding, but also in real-life? How about breaking a big task into smaller chunks of 5 minutes tasks? I've seen plenty software developers who just put their head down and start coding immediately without some planning. I've seen developers to take on complex problems with no plan or strategy. What if the problem can be solved within 5 minutes, the developer should grab a few other developers and start brainstorming? Make a decision tree. List options. I mean... it's not that all of us need to solve Google type of problems. Even a Math exam question can be done (and should be done) within 5-15 minutes.
- sjs 16y agoI listen to any or all of those depending on my mood (including silence, excluding white noise).
- tempest67 16y agoI wonder if being able to code while listening to music has anything to do with gender; I am a female developer, and can't listen to any kind of music at all while programming -- I find it as distracting as if a cat were jumping on the keyboard. Perhaps because female brains tend to have more connections across the halves? (...or perhaps because I'm a musician myself, and process music differently?)
- TheSOB88 16y agoI'm a dude who's also a musician and can't think while while listening to music. However, some coding tasks don't really need music, so I'll listen to it from time to time.
- robryan 16y agoA problem I have is repetition, a song can be really good but it quickly loses appeal if I listen to it multiple times without other songs in between. Like others here lyrics don't really bother me because I'm listening to stuff I have heard before.
- CopyrightTroll 16y agoEvery time you code and listen to music, should you be paying the musician for the performance? I say yes.
- jwhitney 16y agoOnly if I get paid every time someone runs the code.
- awolf 16y agoI use to work in a noisy office environment where silence wasn't really an option. The best solution was noise canceling headphones and a white noise generator. I now prefer this over silence any day. Here's a great native Mac OS app for that (source available): http://code.google.com/p/noisier/ http://code.google.com/p/noisier/ I has White, Pink, and Brown noise with an adjustable filter.
- grammr 16y agoI listen to music about half the time I'm coding, but I almost always have my Bose QC 15's on. Wearing them with no music playing blocks a ton of distracting noise out. While expensive, they're one of the best investments I've ever made.
- sterwill 16y agoI have an office with a door that closes, but I usually leave it open and play Soma FM's Drone Zone quietly in the background. No vocals, little to no rhythm, and helps to put my mind in a slightly far-away place where it's just me and the problem I'm working on.
- motters 16y agoI can confirm the experience of others in that I have no particular problem listening to music while coding, but music with distinguishable lyrics is more disruptive to concentration.
- Keyframe 16y agoWhen i studied traditional animation (drawing), I was always reminded not to listen to music while working... I picked up the habit even while coding and doing anything basically. I also had a problem of concentrating or being in the zone while listening to music while working... however, as of recently, I've tried experimenting with listening to music while working, again. I found that I have no problems with concentration anymore, and I find it quite enjoyable working along with music - BUT, I found out that I do less work while listening to music as opposed to sans music. Not by a large margin, but I think I'll listen to music from now on, since it's more enjoyable experience.
- Andrewski 16y agoUgh. E-Branding. On topic, music without lyrics is the way to go.
- karl11 16y agoPandora > Create New Station > "Ratatat".