This is a pretty fair comparison. Music has a pretty standardized format, relatively speaking, in what &#x27;sounds good&#x27; and what sounds &#x27;bad&#x27; based on one&#x27;s cultural upbringing. As in, certain tonalities are pleasing to the ear. From basic understanding and competency comes the ability, in theory, to &#x27;compose&#x27; pieces. My experience with coding is similar in that there are good ways to structure a composition, and not-so good ways. In coding, a compiler or testing the program is what reveals if something works or not, much in the same way that playing back a recorded version of a composition can reveal what&#x27;s good or not good about a musical piece.