top | item 2351516

Ask HN: Who owns the code?

8 points| kaitnieks | 15 years ago | reply

I never expected to do this but here we are 3 people creating a startup. Two of us are programmers, building separate parts of the system (frontend/backend) and the third guy is designer/investor.

We are trying to draw an agreement as part of the documents to establish the company legally. One of the issues we don't know what to do with is the question of intellectual property. Does source code belong to company or to programmers? Can programmers use the code (functions, libraries) in other of their projects?

I proposed that the code belongs to the company but the author is allowed to use the code in other projects that are not similar to our company project. The other programmer disagrees and thinks that the code should belong to its author.

What are the common practices regarding this?

Thanks.

12 comments

order
[+] dasht|15 years ago|reply
Consider the option:

Choose an appropriate free software license. I would suggest AGPL v3.0 (or later). Assign all code to the company but include an escape (consult a lawyer) so that each of you has enforcement rights should the company go away. Explicitly agree that all of that code is, by understanding, considered to have been distributed to each of you as individuals.

Such a choice does not obligate your company to share source however it gives any of the three of you the right to share source. It gives each of the three of you freedom to use the code.

Some investors, I would think, might have some trouble with this. For example, a founder could quit, fork all of the code, and start something else. For reasons like that I think the suggestion might inflame some. I suggest that if you presumably all trust one another enough to get to a point where that threat is no longer particularly significant. And that threat ought also to be weighed against the degree of difficulty of someone else doing a clean-room substitute for the code, anyway.

[+] mryall|15 years ago|reply
Most companies that are based on intellectual property, like software companies, need to maintain ownership of the copyright so that they can continue to sell the IP (software) for money. If someone else owns the copyright, the company has no way to prevent all the source code being released in the public domain, available to everyone for free.

If you don't own copyright on your own software, you'll also find it hard to sell the business in the future. Potential acquirers are usually interested in purchasing the IP owned by a company, not just the company itself.

IP that a company owns can be counted as an asset when drawing up a balance sheet. It is often quite a substantial part of the assets of any major software company, making the net value of the company much higher.

In my experience, companies usually default to owning the intellectual property for everything an employee produces then provide a way to waive their interest on outside projects by employees. The IP waivers require the employee to specify the scope of their outside work and get approval from the company directors so that the company's IP rights are waived on that code.

[+] listrophy|15 years ago|reply
Assign copyright to the company.

Also, everyone's being a just a little cautious here, AFAIAC. Make a killing with your business, don't haggle over code ownership.

[+] kaitnieks|15 years ago|reply
It probably sounds worse than it is. It's not like we're stubbornly keeping to our own opinions whether the code should belong to company or not. We're all inexperienced in this area and intuitively I feel like the code should belong to the company and the other programmer feels like we should not restrict ourselves. We just want to do this right.

What I would love to hear is some experience or consequences that could result from assigning code to the company and also from not doing it. I'm sure both ways have their minuses.

[+] maxdemarzi|15 years ago|reply
Belongs to the Company. Rights can be given by the company to re-use functions/libraries to the developers (or open-sourced) as needed.
[+] radu_floricica|15 years ago|reply
If you're interested in attracting investors, then definitely ownership is indicated. A licence to use the code can of course be granted to the programmer.

But if you're not, then whatever makes you comfortable works. Just make sure (and it's important) to have in in writing and reasonably solid.

[+] bricestacey|15 years ago|reply
If the author owns the code, it's very easy for him to quit without incurring any losses and might simultaneously destroy the company. It's better that the company own the code and license it to the author as needed for other projects. I would imagine the author would have considerable equity - so it should not be such a big deal.
[+] CyberFonic|15 years ago|reply
Intellectual property is an asset. If you are forming a company, then you want it to have value and the value is the IP and the contracts it has with the developers. As radu_floricica points out investors want to see more than a coffee pot and dead palm tree as assets.
[+] joshu|15 years ago|reply
Acquirers will be concerned about who owns or has copied the code.

The company should own the code. I would recommend not granting rights beyond that. You can always package parts up and open source them.

Don't labor under the illusion that your code is a beautiful, unique snowflake...