You do realise that's not how research, science and engineering work right? Just because you think it's morally justifiable to "own an idea" doesn't mean it is morally justifiable to do so.
Besides, do you really think someone is going to supplant you that easily? If you're really worried, use the GPL and then use their improvements to improve your own work.
We all "mooch" off of other's talents. That's the beauty of our industry. We get inspired, we share, and we base our works on the works of others.
That's why its so important to pair huge investments in R&D with awesome business people. Don't obsess about protecting your inventions. Obsess about getting your inventions out there, selling, supporting, and custom tailoring it for what customers really need.
And it hurts that I careless about the code - it can be rewritten in a million ways. What I care about is what code does, and the multitude of GloboCorps working on the same issue in vane, and their ability to reproduce our work in months once they understand the secret sauce.
Also - keep in mind that "Legal advice" isn't necessarily "Business advice". Lawyers can't tell you how to make money, or how to build a business that survives even when people compete with you. They'll tell you how to try to prevent competition, or protect IP, but they won't tell you how to be a market leader.
As for BigCorp copying your inventions - that can obviously happen. But it's also very likely that if you can solve a problem that BigCorp is failing at, they'll simply give you an M&A offer.
if the secret sause is so simple that they can copy it in months without violating copyright laws, may be it's not so saucy after all!
Data, whether code, or algorithm, is not physical, and therefore, unless you don't give the code out (e.g., sell via SaaS), it's gone as soon as you release it, obfuscated or not.
I think all these problems arise from the way we pretend that information is property. It is not.
I don't think people have a problem with enforcing patents in general, just patent 'trolling', i.e. buying someone else's patent or patenting broad ideas.
edit: newline detection fail