I'm in an "(actually) creative" field, not a brogrammer, 20 years of writing code, and have a vastly different opinion than you do.
I no longer sell code, just my services.
I did have one case where someone stole my code, and then tried to sue me for copyright infringement. Too bad for him that I had a registered copyright on it :-)