@mjg59 I somewhat agree, but I would like to extend this idea even further: current copyright laws cover software. copyright was meant to protect creative pursuits, which code (as you put it) is not. Many other technical fields don't have a copyright either. Let's abolish the software copyrights that so much of big tech profits from.
Until then, I think it's fair for people to want to avoid having their code be copied without attribution.