Ask HN: Who is still worried about copyright issues with AI generated code?
At Thanksgiving, the topic of AI-generated code briefly came up. I was surprised to hear about corporate resistance to generated code being a significant legal risk. I almost heard someone say stochastic parrot. I was shocked because I hadn’t considered that argument in what felt like years. Perhaps I was taken aback because the most code I’ve written in the last 6 months was two lines of JSON and a bash function. It seems my clients have less money but bigger demands and zero concerns about the code being generated from a copyright perspective. I work primarily on web-facing technologies. I am confidently delivering the highest quality software I’ve made, faster, with more features, and better automated validation. My clients are happy.
I wanna know - are you worried about copyright and legal challenges with generated code at the end of 2026?
Copyright feels like the wrong thing to focus on. It doesn’t sound like you’re producing code for publication as open source, so who is going to catch any violation and sue you?
IMO you do still need to worry about patents and trade secrets when using LLM-designed code. Patent descriptions are probably in most models’ training data, and you don’t need the code to be identical to infringe on a patent, as they tend to cover the how rather than the what.
Personal opinion but I think for now there's nothing to worry about. So many people and corporations are generating code, that any legal precedent would have an almost blanket impact. There may come a time when some laws apply, but I don't see that happening short term.
Also having been involved in a software copyright dispute pre-AI, it's pretty difficult as-is with existing laws. If your code does the same thing but looks different then you're basically in the clear. It's quite a bit different from art where a derivative work is still considered a copy or sorts.
IMO you do still need to worry about patents and trade secrets when using LLM-designed code. Patent descriptions are probably in most models’ training data, and you don’t need the code to be identical to infringe on a patent, as they tend to cover the how rather than the what.
Also having been involved in a software copyright dispute pre-AI, it's pretty difficult as-is with existing laws. If your code does the same thing but looks different then you're basically in the clear. It's quite a bit different from art where a derivative work is still considered a copy or sorts.