So physical stuff like valves can be patented, but not software? That seems arbitrary. After all, it's usually the design of the valve that contains the invention. What difference does it make if you print one out? If you mean "nothing should be patented," just say that. One could make a case for that argument. But there's nothing special about software.
How did we end up in this mess?
What evidence do you have that we're in a mess? Have you ever been prevented from doing something you wanted to because of patents?
The fact is, for all the noise people make about them, software patents just don't matter much. Large companies accumulate patent portfolios to protect themselves against patent suits. Startups file for them because investors and acquirers are impressed by them. But they don't decide which startups win.