The Economist :

Moreover, as software is often built on the achievements of others, writing code could become a legal hurdle race. By analogy, if Haydn had patented the symphony form, Mozart would have been in trouble.