At least in the US, the patent system is totally out of control. In fact, it's so bad I have twice accomplished "reverse patent trolling".
It works like this. I make a thing, and publish it for all to see and copy. A patent troll contacts me and says that I am violating their patent,
and they are going to take me to court.
I invite them to take me to court, and advise them that the very likely outcome will be that, not only will they lose their case, but they will
lose their patent.
I then invite them to spend much less to keep me off their back, with the understanding that their patent is worthless and they should drop dead.
I certainly won't retire from the proceeds, but it seems to have removed at least two scumbag lawyer nests from proliferating.