6 ms·
Why programming and musical talent go together: enjoying seeing patterns
- scott_s 17y agoHumans are pattern matching machines. I think it's the root of our intelligence - it's certainly necessary for our survival. Basic pattern matching is required to, say, determine what kinds of plants are safe to eat, and to figure out where big game is and to predict where it will be.
- KentBeck 17y agoWhat I noticed is that 1) some people are better at matching patterns than others, 2) there are different kinds of patterns (social, symbolic, spatial, etc.), and 3) some people have a particularly effective reinforcement loop around pattern matching.
- Sthorpe 17y agoHave you read on intelligence? Jeff Hawkins, talks about how everything we do is about detecting whats different in the patterns.
- KentBeck 17y agoNo, I haven't. I heard an interview with him, though, that makes me think we're thinking about similar ideas.
- amichail 17y agoLearning to play a musical instrument changes the brain. http://www.articlesbase.com/art-and-entertainment-articles/benefits-of-music-education-456737.html http://www.articlesbase.com/art-and-entertainment-articles/b...
- yan 17y agoIsn't it accurate to say learning anything changes the brain, since that's what leaning is?
- mattyfo 17y agoI agree and since the link doesn't seem to work for me, I can't comment on the article. Perhaps learning music changes the brain in a way that is different than say, learning how to cook French food or to fix a computer?
- stcredzero 17y agoActually, if you are a excellent French cook, I suspect that your brain was changed in much the same way. Fixing a computer, not so much. See my post about the "game of awareness" in music.
- stcredzero 17y agoYes, but it's well known that certain kinds of changes are qualitatively different. There is a big difference between learning how to speak French when you are a child, versus someone learning in middle age. There are also big quantitative differences in MRI scans of people listening to music between those who learned how to play an instrument before the age of 12 versus those with no such background.
- mattyfo 17y agoSince I've learned to play guitar (and studied music theory) my mind has opened up to the possibilities of learning and I feel like a smarter and sharper person. I can't say with any scientific evidence how music has changed my mind but I'm going to agree with that general statement. Additionally, I find that when programming a short musical break will rejuvenate my mind and get me right back into the flow of code.
- RyanMcGreal 17y agoI find I code more quickly and elegantly when I'm listening to music - especially ambient music without a lot of sharp edges that throw me out of flow state.
- RyanMcGreal 17y agoI'd be curious to see a poll of HN readers asking how many enjoy/excel at both programming and music. I'll never win any awards for either my code or my compositions, but I love programming and I love playing music (rhythm guitar and drums, mainly).
- abstractbill 17y agoDone: http://news.ycombinator.com/item?id=1045758 http://news.ycombinator.com/item?id=1045758
- stcredzero 17y agoMusic also goes deeper than pattern matching. Often, it is a game of awareness! A really good musician also becomes aware of complex secondary effects, both in the mix of sounds produced and the effect those sounds have on the emotions and "kinesthetic sympathies" of listeners. (By "kinestheic sympathies" I mean a gut reaction people can have to the physics of movement implied by asymmetries in rhythm. "It don't mean a thing, if it ain't got that swing!") Awesome acoustic musicians are aware of little nuances, and can exploit them to great effect, much as a great chef can bring out a little edge of nuttiness or caramel in a dish that enhances the whole. Sometimes these effects can be stretched out over time, and at 2 or three levels of granularity simultaneously. (The tasty thing you are doing this time through, is also setting up a resonance with something you are doing the next time, which is part of an overall structure of drama and anticipation you're setting up over the whole song.) I've started delving into pop influenced by electronica, and find there are many of these exquisite things in electronic music as well. To bring this back to programming: there is also a game of awareness that can be played while programming. There are may levels of granularity, and many parts coming together in ways one might not yet be aware of. Often, it's bringing such things into awareness that results in that great refactoring.
- KentBeck 17y agoWhat you are calling "awareness" sounds like what I mean by pattern matching. When I'm "on" as a musician, this "pattern matching" operates on a variety of time scales--multiple concerts, this concert, this piece, this verse, this phrase, this chord-- and multiple people scales--me, my fellow musicians, different people in the audience, the audience as a whole. At the very highest level (perhaps five times in my life) any consciousness of all this disappears, even though I'm sure all those factors are still influencing my behavior. Strangely, this is absolutely sublime in music but I tend to produce code I later regret when programming in this zone.
- stcredzero 17y ago"What you are calling "awareness" sounds like what I mean by pattern matching" Perhaps pattern matching is involved. What I'm thinking of are occasions when one is listening to a very good musician and one is very taken by a particular phrase or lick. The pleasure in that moment is intense, but it's often hard to put the cause of that pleasure into words or even to replicate it musically. I often find that I have to go back and analyze what happened, sometimes by playing back a recording at half speed. Even then, I can fail to replicate the essence of what was good in that moment. There's a certain discipline of awareness one has to practice. Even though I'm able to produce a resemblance of what I've heard, this often lacks the essence of what gave me the pleasure. I have to be aware that I'm reproducing the right thing sonically, and not just taking pleasure from mastering a new sequence of movements. (And it's quite common to meet musicians who just stop at doing the latter.) Pattern matching might be involved, but it's only part of it. There's a kind of introspection involved in figuring out what made it work. I have to think about how I'm feeling and connect that causally to some particular nuance or combination of things.
- Towle_ 17y agoThis seems like a very muddled claim to me. I won't refute that there's some kernel of truth in there somewhere, but using anecdotal evidence to loosely tie one's own theory together rarely ends well, especially when one's claim would be beneficial to oneself if true. A perhaps more plausible and/or stronger explanation for programmers' disproportional display of music talent as a group: To gain the experience necessary to label oneself a programmer, one has likely a >lot< of time on a computer. Whether that computer exists at home or at a school/university, we can already likely assume (especially for the population of "professional" programmers, due to the lesser availability of this necessary resource in past decades and the length of time necessary to become a "professional") that the group we're talking about trends toward the higher income side of the population. That alone would make the group as a whole far more likely to have ever picked up a musical instrument in the first place, let alone to have received the countless hours of necessary instruction. Additionally, I think we can all agree programmers are disproprotionally likely to be homebodies. If one spends a lot of time at home, one has more opportunities for practice. Lastly, if one has the patience and determination necessary to learn enough programming to label oneself a programmer (especially a "professional"), then one is more likely than the rest of the population to have the same patience and determination necessary to learn another skill which requires countless hours of disciplined study-- like music.
- stcredzero 17y agoIt goes deeper than amount of time spent. There are differences in the MRI scans of people who have spent time doing substantive work in music before the age of 12, and those who started much later. I've also taught music, and let me tell you, the difference is stark! It's much the same as learning a spoken language. There is a big difference between 10,000 hours spent learning spoken languages during the K-12 years, and 10,000 hours in your late 30's! Teaching adults who had no exposure to making music as a kid is like trying to teach someone who can't see color to paint a sunset! There are some adults who can't keep rhythm with any meaningful accuracy, and can't hum a tune back at you. There is some entire facility which is missing. I've had similar experiences teaching programming.
- 17y ago
- pvg 17y agoUnfortunately for the thesis, we have a well-established counterexample. http://www.jwz.org/hacks/why-cooperation-with-rms-is-impossible.mp3 http://www.jwz.org/hacks/why-cooperation-with-rms-is-impossi...
- arketyp 17y agoRegardless his singing abilities, that's a beautiful song IMO. He seems to have taste at least. http://en.wikipedia.org/wiki/Sadi_Moma http://en.wikipedia.org/wiki/Sadi_Moma
- rglullis 17y agoAwful singer, good dancer: http://www.youtube.com/watch?v=Pube5Aynsls http://www.youtube.com/watch?v=Pube5Aynsls
- KentBeck 17y agoThe good news about psychology is that a counterexample does not invalidate the thesis the way it does in math.
- pvg 17y agoWe probably disagree on whether this is, in fact, 'good news'.
- Goladus 17y agoCalling yourself a programmer and calling yourself a musician are both fairly easy. I would say a lot of programmers are musicians because a lot of people are musicians. I know a lot of musicians who are not programmers. I think that if you actually look at the most talented musicians in the world, they are probably not programmers either. The amount of dedication it gets to reach the top makes it difficult to do both.
- KentBeck 17y agoThat's certainly a possibility, that programming accomplishment and musical accomplishment don't correlate at all and it's just sampling error. However, I experience both and I was trying to identify the commonality, in answer to a question that has been discussed ad infinitum. It would be interesting to me if the question applied to people in general. At the moment I'm glad to have made my world slightly more understandable.
- jpwagner 17y agoThis claim is just a subset of people-who-excel-at-anything-are-able-to-relate-to-excellence-at-anything-else
- KentBeck 17y agoI've certainly seen that kind of argument. What makes me think I haven't fallen into that fallacy (although it is a possibility) is that I freely admit that I'm terrible at lots of things (like reading people) and that I'm good at other things (like baking or cheesemaking) that have nothing in common with my experience of programming and music.
- dagw 17y agoWhat is the basis for claiming programmers are musically talented? I know a number of very talented musicians and a number of very talented programmers, but the overlap between the two is pretty close to zero. Sure I know programmers who can string together a few chords and musicians who can hack together a website in php, but I've never seen anything to make me think that the overlap between programming and playing a musical instrument is any larger or more significant than the overlap between any other profession and playing a musical instrument.
- KentBeck 17y agoAFAIK the correlation is anecdotal and no more. However, I've had enough bar discussions of "why do musical and programming accomplishment go together" that I was glad to find an answer that made sense to me. I'd love to see real research to confirm or deny the correlation.
- nerme 17y agoI sing, play guitar, bass, and saxophone, as well as enough drums and keyboards to get by in rock or pop settings. With my current group we've started to use a heavy dosage of Max/MSP for audio and Quartz Composer for visuals... my professional programming experience really helps with creating really good interfaces for the software (not just UI, programmatic interfaces as well), so extending or modifying the software happens at a pace that keeps up with the rest of the band... and being that music is prety much realtime... If you're interested, we've got some demos up... http://redblueyellow.com http://redblueyellow.com Of course I did our website as well... Rails ;) And how many bands have a github account? Sorry, no public repos yet... http://github.com/redblueyellow http://github.com/redblueyellow At one point we had three software developers in the band, but we've slimmed down due to gasp, guys getting jobs in the industry elsewhere (other than SF, I know, right?) and now I'm the lone coder. I'd say I'm about 50/50 when it comes to music... I've had periods where I did it full-time, and I've had periods where I've coded full-time. Right now I'm burning the candle at both ends with a contract job and spending at least 30 hours a week on the band. I know quite a few professional programmers who are also professional or semi-pro/very dedicated musicians. I think there is more to it than mere correlation. And can I say that the 10,000 hour thing is WAY WAY off? I'll put it in musical terms: I started playing the saxophone in 5th grade. I played for 2 years. I switched to guitar. About 4 years ago I picked up a sax because the band I was in needed some horns. After about a week, I was 100 times better than I ever was before. So what happened? Well, I learned more about music in the mean time. I'm sure I could pick up any instrument much, much quicker than someone who has never played any instruments. What am I getting at? Well, a lot of things in life have more than just a passing similarity. They have core fundamentals that are shared. I am completely convinced that this applies to music and software development, although I have no idea why.