TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Is it wrong to reuse previous company projects that I developed?

6 点作者 supervillain超过 8 年前
I have a new company that has a requirements very similar to a feature I developed in my previous companies? Is it morally wrong to reuse the piece of code again on my current project?

7 条评论

vitaminbandit超过 8 年前
&quot;The jury did find that 145 lines of A10&#x27;s implementation of the public &quot;Aho-Corasick algorithm&quot; constituted copyright infringement, and assessed $60 million in damages. These lines of code were removed from A10&#x27;s product last year.&quot; [1]<p>Re-use of code in an implementation of a publicly known algorithm -&gt; $60 million in damages. This is not the kind of liability you will ever want to take on.<p>1. <a href="https:&#x2F;&#x2F;www.a10networks.com&#x2F;news&#x2F;a10-networks-receives-jury-verdict-finding-no-willful-infringement-patent-lawsuit-against" rel="nofollow">https:&#x2F;&#x2F;www.a10networks.com&#x2F;news&#x2F;a10-networks-receives-jury-...</a>
gozur88超过 8 年前
Yes, if you don&#x27;t own the code. Unless you had an unusual arrangement with your employer, the code is a work made for hire, meaning your previous employer owns it. That&#x27;s not just a moral question either - you can get into legal trouble.<p>That&#x27;s not to say you can&#x27;t incorporated what you learned into the new code, but it should be, morally and legally, new code.<p>You should avoid this kind of temptation by not taking code with you when you leave a job.
Gibbon1超过 8 年前
The hard advice I have is: If the new company is a competitor of the old company. And the stuff you are reusing is directly related to the core business of the old company.<p>Absolutely don&#x27;t do that.<p>The far end of that would be reusing bash scripts you developed as an IT guy for a now out of business drywall manufacturer for you new job as an IT guy for a manufacturer of 3D printers.<p>No one will notice. There is no one to care (out of business). And it&#x27;s not worth a lawyers time.
SwellJoe超过 8 年前
I Open Source whatever I&#x27;m allowed to open source, when I do contract work for companies, to address this very question for my future self. I usually include a clause in the agreement that the code will be released under an open source license (they can pick, or I can pick Apache license or GPLv3 with copyright held by me and them receiving an unrestricted license, whichever is appropriate to the project), unless explicitly requested otherwise.<p>I&#x27;ve found it is rarely an issue that even raises eyebrows these days; unless the company is a software company selling software as their primary business, they don&#x27;t care what the license is as long as it solves their problems and won&#x27;t give them legal hassle down the road. Most companies just need solutions running on their servers; they don&#x27;t care how the solutions get there.<p>If something is clearly work-for-hire, and isn&#x27;t Open Source, I wouldn&#x27;t re-use it without explicit written permission. But, I can&#x27;t remember the last time I did work that met that description.
edblarney超过 8 年前
It depends on the terms of your contract with that company.<p>If that company owns the work you did, then you have no rights to it.<p>If the company does not exist, it may be another story, but you should check to be sure, because if previous owners can claim rights, it could ruin any fruits the project bears for you.<p>Here&#x27;s a hint: once you develop something once - you can do it 3x faster and 2x better the second time around - from scratch.<p>Remember that most of coding is &#x27;figuring things out&#x27; - i.e. architecture, which apis to use, the requirements.<p>If you know exactly what you need to do and how to do it - you&#x27;re 80% of the way there.<p>Just re-write it - it will be much better, and you save yourself any possible legal or moral issues.
rubyfan超过 8 年前
Be careful there, if the previous company can claim that a previously developed asset is a trade secret then you could expose yourself regardless of if you&#x27;ve reused source code or not. Also be aware of any non-compete agreements you&#x27;ve entered.
saluki超过 8 年前
re-write a better version from scratch using what you learned previously but not re-using code.
评论 #13425383 未加载