If a corporation is stealing your OSS code (and violating a license) then that implies that they think your code has value, they might have paid a person to write that code but instead some hobbyist built it for free and a corporation steals it.
A few months ago, I made a pull request to LMAX Disruptor, which was merged. I was initially excited because even if my PR was simple it’s still a big project that I contributed to. But after a few minutes it occurred to me that I just did free labor for a for-profit trading company. If they merged in my code then must have thought it had some value, and I decided to dedicate my time to saving this multi million dollar company some money.
My PR there was pretty simple and only took me like 30 minutes (if that), so I am not going to cry too hard over this, but it’s just something that made me realize that if a company is going to use my work, they should pay me. I don’t think it’s wrong or weird to want to be compensated for my labor.
I am still a hobbyist. Turns out you can still be a hobbyist without sharing everything you’ve ever done on GitHub.
I am not trying to really convince anyone of anything, do whatever you want. I am just explaining why I have become disillusioned with FOSS.
I know there's been cases of big projects successfully suing companies that break the license (e.g. BusyBox), but if I just make some small utility on Github, even if it's licensed with AGPL, I don't have a ton of recourse. I don't have the ability to audit every project that might be violating it, and even if I did I don't have the capital to pay an attorney to sue for every possible violation.
If you're working for a company and that company is paying you to work on a project that they decide to FOSS later, great, you're being compensated for your work and I have no objection to that. Hobby projects are generally not compensated and as such I think it's better to keep them closed source.