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

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Successful_Try543@feddit.org 6 points 10 hours ago (2 children)

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.

[–] hperrin@lemmy.ca 11 points 10 hours ago (1 children)
[–] grue@lemmy.world 2 points 4 hours ago

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.

[–] inari@piefed.zip 3 points 10 hours ago (1 children)

I may be wrong but I think current legal understanding doesn't support this

[–] Successful_Try543@feddit.org 4 points 9 hours ago* (last edited 8 hours ago)

Under U.S. law, to prove that an AI output infringes a copyright, a plaintiff must show the copyrighted work was "actually copied", meaning that the AI generates output which is "substantially similar" to their work, and that the AI had access to their work.[4]

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.