I understand your viewpoint. My point is: what happens in the long term if people like Dijkstra patented their algorithms? I think we all have a stockpile of licenses to pay for almost any code, even a r"Hello World" (you are using a string, if it's unicode you need another patent!).
So, I think there are more winners and innovation "sacrificing" the software inventors side.