Totally, for instance as a drummer and a programmer I find myself comparing "drum patterns" and riffs as procedures, but particularly with drum patterns they can be re-used across bands/styles and songs even within the same record! So being a drummer is definitely about code re-use and modular design. I could go off on my project to generate recursive music (live) but thats a whole other world. I would like to think that I drum with s-expressions.