Hacker News

Favorites Setup
Comment by trentnix | original | All AI-generated code should be Open Source
[−]trentnix · 2026-11-15 Sun 18:43 UTC · link
> purely AI-generated code is not written by a human, meaning it should not be copyrightable

There's a lot of room in between code that is closed-source and code that is "copyrightable".

Should code crafted via cut-and-paste from StackOverflow be open source? How about newsgroups before that? What about apps that use "no code" tooling? Is there a threshold for the use of external libraries and packages that cross the threshold for "that code was simply scraped from the internet and used without permission or proper attribution"? How about code I wrote while using auto-complete a lot?

I appreciate the author's sentiment and recognize that LLMs have aggregated the work of many, many people. I'm guessing their work wasn't wholly original either, like so much of the code I wrote before the age of LLMs. Whether those people whose work has been aggregated to train LLMs own that work - those ideas, those thoughts, those strategies - is exceedingly complex and (I speculate) largely won't hold up to real scrutiny.