I don't really see the difference, code is protected by copyright (or copyleft) as much as art is, and yet the LLM scrapers use it without scruples. Same goes for math and science publications.
While coders may care about the craft (and I do), it's not as if the value of my code is in the exact variable names I chose.
Meanwhile there’s endless discussions about the right way to name variables (not too short, not too long, try to be self documenting, but not to the point of putting types in the name like we used to), and people definitely get judged by their variable names, it’s one of the first things someone will point out when they look at a codebase. “Why are all the variables a single letter this is bad code!”