this post was submitted on 13 Feb 2026
728 points (96.1% liked)
Programmer Humor
29691 readers
1879 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
If the AI generated code is recognisably close to the code the AI has been trained with, the copyright belongs to the creator of that code.
And they should obey the license of the code.
Since AIs are trained on copyleft code, either every output of AI code generators is copyleft, or none of it is legal to use at all.
I may be wrong but I think current legal understanding doesn't support this
Wikipedia – AI and copyright
I've found a similar formulation in a official German document before posting my above comment. Essentially, it doesn't matter if you've ~~"stolen"~~ copied somebody else's code yourself and used it in your work or did so by using an AI.