The problem with coming at music like building a computer program is that, while it theoretically can work when you look at it from thousand miles away, no musician actually does that. It reminds me of when Dijkstra wrote that all computer science students should always start with manipulating symbols before touching a machine, and Knuth replied that nobody learned programming that way. There's no empirical data of such thinking actual work.
What makes good music good is ultimately human ears. Fugues, for example, might seem to be programmatical at first glance, but get your hands dirty and compose one yourself, based on nothing but the mechanical rules. Doesn't sound good? It doesn't.
It's like writing English based on syntactical rules. You'll end up with a music equivalent of "Colorless green ideas sleep furiously".
What makes good music good is ultimately human ears. Fugues, for example, might seem to be programmatical at first glance, but get your hands dirty and compose one yourself, based on nothing but the mechanical rules. Doesn't sound good? It doesn't.
It's like writing English based on syntactical rules. You'll end up with a music equivalent of "Colorless green ideas sleep furiously".