I've literally been the sole, or almost sole, "inventor" of several patents.[1] But because I had left the company (to go to law school) by the time the lawyer got around to writing them up, they just threw some other names on the application.
It irked me mostly because, sadly, many people still think that an issued patent actually reflects something substantive about the "inventor". So now I don't get to say that I'm the author of several patents on my resume, whereas the next guy might.
I took a patent law course and _hated_ it. My professor was once an interim director of the USPTO, and was rabidly pro-patent. That was annoying. There were also several patent examiners in my class, including two who examined software patents. One of those examiners agreed with me that software patents are generally bogus[2], but his job was to follow the law, and specifically the law as interpreted by the USPTO.
[1] I use scare quotes around inventor because like many software engineers most things seem obvious to me. Necessity is the mother of invention, not genius. And necessity will find you if you're in a competitive market, so you rarely need the prospect of a government monopoly to incentive you to "invent". Losing market share is usually all the incentive you need. (And there's nearly USD $100 trillion dollars in liquid or readily liquid assets in the world today. And while only a small fraction of that amount is likely to seek risky investments, it's still more than any entrepreneur would have imagined in their wildest dreams a few short decades ago. So guaranteeing returns on risky capital investments is a poor justification for government-enforced monopolies.) But FWIW in the relevant cases I both independently formulated the original ideas and wrote the implementations.
[2] Bogus for various reasons. But the whole "software patents are patents on math" argument widely shared in the FOSS community is pretty non-sensical in the patent realm. Patents are intrinsically about drawing difficult and arbitrary lines between the abstract and functional, and there are many dimensions where such lines are drawn. So expect examiners and lawyers to pretty much roll their eyes if you try to bring that up. The arguments against software patents that find the most purchase in the legal community are difficult to decipher without reference to concepts internal to the patent realm. The patent regime, like Catholicism, is based on a logic all its own. Internally consistent and analytically rigorous, yes, but ultimately divorced from reality.