this post was submitted on 13 Feb 2026
851 points (96.1% liked)

Programmer Humor

29704 readers
1721 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
[–] Wiz@midwest.social 14 points 15 hours ago (2 children)

i made a script years ago that algorithmically generates python code from user input. Is it now considered AI-generated too?

No, because you created the generation algorithm. Any code it generates is yours.

[–] skami@sh.itjust.works 7 points 14 hours ago

Not how I understand it, but I'm not a lawyer. The user that uses the script to generate the code can copyright the output and oop can copyright their script (and the output they themself generate). If it worked like you said, it would be trivial to write a script that generates all possible code by enumerating possible programs, then because the script will eventually generate your code, it's already copyrighted. This appear absurd to me.

Relevant: https://www.vice.com/en/article/musicians-algorithmically-generate-every-possible-melody-release-them-to-public-domain/

If the script copies chunks of code under the copyright of the original script writer, I typically see for those parts that the original owner keeps copyright of those chunks and usually license it in some way to the user. But the code from the user input part is still copyrightable by the user. And that's that last part that is most interesting for the copyright of AI works. I'm curious how the law will settle on that.

I'm open to counterarguments.

[–] KeenFlame@feddit.nu 2 points 14 hours ago

While nobody created neural nets and back propagation