Hacker News

Favorites Setup
Comment by waximabbax | original | All AI-generated code should be Open Source
[−]waximabbax · 2026-11-15 Sun 16:17 UTC · link
My question is still the same. Human devs have learned from open-source projects, books and code on the internet then used opensource frameworks to create proprietary software logic.

Now just because same devs use AI to create code doesn't mean they should be banned from creating or owning a proprietary software.

[−]127 · 2026-11-15 Sun 16:22 UTC · link
Given how agents are already able to easily decompile software, this could be an entirely moot point.
[−]done_lurking · 2026-11-15 Sun 19:08 UTC · link
I haven't heard of this. When did this happen?
[−]davemp · 2026-11-15 Sun 16:52 UTC · link
I don’t see why a person who did not use their own creativity to produce code should be given copyright for it.

In fact, current US law says AI output cannot be copyrighted.

[−]scott_w · 2026-11-15 Sun 17:08 UTC · link
This needs to be addressed as separate issues.

Open source code: reproducing and publishing the code without following the license is a copyright violation. Instruction a computer programme to do the same thing should still be a copyright violation. Since this is the internet, I need to state the obvious: trivial code (defined on a case-by-case basis) is not copyrighted.

Books: the author expects you to reproduce their work, as long as it’s not another book. You wouldn’t get many sales if you sued someone for using the things you taught them.

The internet: actually the same as open source code. StackOverflow enforces a specific licensing clause to allow people to use code you provide. People who write posts that say “use this code to fix this problem,” are implicitly providing a license, too.

I don’t think using an LLM to generate code should remove its copyright but it also doesn’t remove the responsibility to not violate copyright.

[−]deniska · 2026-11-15 Sun 17:26 UTC · link
The difference is the scale. Yeah, some mice and small birds are eaten by bigger predators. Doesn't mean that introducing cats to that ecosystem won't be disastrous.

Same with the ecosystem of creative work. Will some humans be inspired by my code or other artifacts? Sure. Does it mean it's fine to introduce an automated 1000 times more effective plagiarism machine to that ecosystem? Probably not. Certainly not if avoiding destroying the ecosystem is your consideration.