Is it ethical to use knowledge in main job for side gig?





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty{ margin-bottom:0;
}






up vote
100
down vote

favorite
6












Suppose I have a main job (Monday to Friday, 9am to 5pm) that involves lots of computer programming, and one day I build a recommender system for my company (think of Amazon.com making recommendations). My company is in the perfume industry.



Now, I also have a part time job (8 hours a week "side gig") in the clothing industry. Based on the knowledge that I gain from my main job, I build a recommender system for this company. I make sure that I build the recommender system without looking at any of my existing code. However, because I just built the other recommender system, I am able to build this recommender system much more quickly. The code for the recommender system I built for the clothing company is also very similar to the code for the previous recommender system I built for the perfume company.



Did I do anything legally or ethically wrong?



For context, recommender systems are covered by many graduate-level computer science textbooks. They take many weeks/months to build. Code to build standard recommender systems can be found on code repositories such as GitHub, though implementation details can vary. Assume that the recommender system I built is relatively standard.










share|improve this question






















  • Comments are not for extended discussion; this conversation has been moved to chat.
    – Jane S
    9 hours ago






  • 1




    Despite taking care to code elements differently at the micro level, there may be IP embodied in the overall structure of the software which you have signed over to your main employer as part of your contract of employment. They paid you to think about how best to do it, in their time, in exchange for you signing the IP over to them.
    – Robert Frost
    9 hours ago












  • Using knowledge is not wrong, but their may still be an IP problem. Sounds like a question for law.stackexchange.com, or your lawyer.
    – employee-X
    2 hours ago










  • Your claim, that you developed the clothing recommender without looking at the code for the perfume recommender, is not going to pass the laugh-out-loud test.
    – EvilSnack
    2 hours ago






  • 1




    do you have a non-compete agreement? that would be my first concern. My second would be that many contracts cover all IP produced "during the course of employment" which is a concerningly vague phrasing IMO.
    – dn3s
    1 hour ago

















up vote
100
down vote

favorite
6












Suppose I have a main job (Monday to Friday, 9am to 5pm) that involves lots of computer programming, and one day I build a recommender system for my company (think of Amazon.com making recommendations). My company is in the perfume industry.



Now, I also have a part time job (8 hours a week "side gig") in the clothing industry. Based on the knowledge that I gain from my main job, I build a recommender system for this company. I make sure that I build the recommender system without looking at any of my existing code. However, because I just built the other recommender system, I am able to build this recommender system much more quickly. The code for the recommender system I built for the clothing company is also very similar to the code for the previous recommender system I built for the perfume company.



Did I do anything legally or ethically wrong?



For context, recommender systems are covered by many graduate-level computer science textbooks. They take many weeks/months to build. Code to build standard recommender systems can be found on code repositories such as GitHub, though implementation details can vary. Assume that the recommender system I built is relatively standard.










share|improve this question






















  • Comments are not for extended discussion; this conversation has been moved to chat.
    – Jane S
    9 hours ago






  • 1




    Despite taking care to code elements differently at the micro level, there may be IP embodied in the overall structure of the software which you have signed over to your main employer as part of your contract of employment. They paid you to think about how best to do it, in their time, in exchange for you signing the IP over to them.
    – Robert Frost
    9 hours ago












  • Using knowledge is not wrong, but their may still be an IP problem. Sounds like a question for law.stackexchange.com, or your lawyer.
    – employee-X
    2 hours ago










  • Your claim, that you developed the clothing recommender without looking at the code for the perfume recommender, is not going to pass the laugh-out-loud test.
    – EvilSnack
    2 hours ago






  • 1




    do you have a non-compete agreement? that would be my first concern. My second would be that many contracts cover all IP produced "during the course of employment" which is a concerningly vague phrasing IMO.
    – dn3s
    1 hour ago













up vote
100
down vote

favorite
6









up vote
100
down vote

favorite
6






6





Suppose I have a main job (Monday to Friday, 9am to 5pm) that involves lots of computer programming, and one day I build a recommender system for my company (think of Amazon.com making recommendations). My company is in the perfume industry.



Now, I also have a part time job (8 hours a week "side gig") in the clothing industry. Based on the knowledge that I gain from my main job, I build a recommender system for this company. I make sure that I build the recommender system without looking at any of my existing code. However, because I just built the other recommender system, I am able to build this recommender system much more quickly. The code for the recommender system I built for the clothing company is also very similar to the code for the previous recommender system I built for the perfume company.



Did I do anything legally or ethically wrong?



For context, recommender systems are covered by many graduate-level computer science textbooks. They take many weeks/months to build. Code to build standard recommender systems can be found on code repositories such as GitHub, though implementation details can vary. Assume that the recommender system I built is relatively standard.










share|improve this question













Suppose I have a main job (Monday to Friday, 9am to 5pm) that involves lots of computer programming, and one day I build a recommender system for my company (think of Amazon.com making recommendations). My company is in the perfume industry.



Now, I also have a part time job (8 hours a week "side gig") in the clothing industry. Based on the knowledge that I gain from my main job, I build a recommender system for this company. I make sure that I build the recommender system without looking at any of my existing code. However, because I just built the other recommender system, I am able to build this recommender system much more quickly. The code for the recommender system I built for the clothing company is also very similar to the code for the previous recommender system I built for the perfume company.



Did I do anything legally or ethically wrong?



For context, recommender systems are covered by many graduate-level computer science textbooks. They take many weeks/months to build. Code to build standard recommender systems can be found on code repositories such as GitHub, though implementation details can vary. Assume that the recommender system I built is relatively standard.







professionalism ethics unprofessional-behavior knowledge-transfer






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked yesterday









wwl

7012410




7012410












  • Comments are not for extended discussion; this conversation has been moved to chat.
    – Jane S
    9 hours ago






  • 1




    Despite taking care to code elements differently at the micro level, there may be IP embodied in the overall structure of the software which you have signed over to your main employer as part of your contract of employment. They paid you to think about how best to do it, in their time, in exchange for you signing the IP over to them.
    – Robert Frost
    9 hours ago












  • Using knowledge is not wrong, but their may still be an IP problem. Sounds like a question for law.stackexchange.com, or your lawyer.
    – employee-X
    2 hours ago










  • Your claim, that you developed the clothing recommender without looking at the code for the perfume recommender, is not going to pass the laugh-out-loud test.
    – EvilSnack
    2 hours ago






  • 1




    do you have a non-compete agreement? that would be my first concern. My second would be that many contracts cover all IP produced "during the course of employment" which is a concerningly vague phrasing IMO.
    – dn3s
    1 hour ago


















  • Comments are not for extended discussion; this conversation has been moved to chat.
    – Jane S
    9 hours ago






  • 1




    Despite taking care to code elements differently at the micro level, there may be IP embodied in the overall structure of the software which you have signed over to your main employer as part of your contract of employment. They paid you to think about how best to do it, in their time, in exchange for you signing the IP over to them.
    – Robert Frost
    9 hours ago












  • Using knowledge is not wrong, but their may still be an IP problem. Sounds like a question for law.stackexchange.com, or your lawyer.
    – employee-X
    2 hours ago










  • Your claim, that you developed the clothing recommender without looking at the code for the perfume recommender, is not going to pass the laugh-out-loud test.
    – EvilSnack
    2 hours ago






  • 1




    do you have a non-compete agreement? that would be my first concern. My second would be that many contracts cover all IP produced "during the course of employment" which is a concerningly vague phrasing IMO.
    – dn3s
    1 hour ago
















Comments are not for extended discussion; this conversation has been moved to chat.
– Jane S
9 hours ago




Comments are not for extended discussion; this conversation has been moved to chat.
– Jane S
9 hours ago




1




1




Despite taking care to code elements differently at the micro level, there may be IP embodied in the overall structure of the software which you have signed over to your main employer as part of your contract of employment. They paid you to think about how best to do it, in their time, in exchange for you signing the IP over to them.
– Robert Frost
9 hours ago






Despite taking care to code elements differently at the micro level, there may be IP embodied in the overall structure of the software which you have signed over to your main employer as part of your contract of employment. They paid you to think about how best to do it, in their time, in exchange for you signing the IP over to them.
– Robert Frost
9 hours ago














Using knowledge is not wrong, but their may still be an IP problem. Sounds like a question for law.stackexchange.com, or your lawyer.
– employee-X
2 hours ago




Using knowledge is not wrong, but their may still be an IP problem. Sounds like a question for law.stackexchange.com, or your lawyer.
– employee-X
2 hours ago












Your claim, that you developed the clothing recommender without looking at the code for the perfume recommender, is not going to pass the laugh-out-loud test.
– EvilSnack
2 hours ago




Your claim, that you developed the clothing recommender without looking at the code for the perfume recommender, is not going to pass the laugh-out-loud test.
– EvilSnack
2 hours ago




1




1




do you have a non-compete agreement? that would be my first concern. My second would be that many contracts cover all IP produced "during the course of employment" which is a concerningly vague phrasing IMO.
– dn3s
1 hour ago




do you have a non-compete agreement? that would be my first concern. My second would be that many contracts cover all IP produced "during the course of employment" which is a concerningly vague phrasing IMO.
– dn3s
1 hour ago










12 Answers
12






active

oldest

votes

















up vote
181
down vote



accepted










There is no ethical dilemna here. The simple fact that experience allows you do something more efficiently has nothing to do with ethics.






share|improve this answer



















  • 9




    Agreed. @wwl did you bring any experience from previous work to your perfume company job? So long as you don't reuse documentation, code or tests from the perfume job on the clothing job, then it is the same thing.
    – Mawg
    yesterday






  • 5




    I would add that there is no "conflict of interest" here because the 2 companies are in entirely different industries. So don't sweat it :)
    – vikingsteve
    20 hours ago






  • 3




    Knowledge ("how" in this case, as opposed to "what") and skills gained are not intellectual property. No company can prevent you from putting those skills to use. My current employer even went so far too say that if we build a tool (eg a recommendation system), we're ok taking that code with us. It just can't have or use propriety information (eg contain or access their customer or product data). Might not be the case with you, just saying how my current employer broke things down.
    – Draco18s
    16 hours ago












  • Goes a bit further than simple experience though, don't you think? OP wrote the code for his day job, so it seems highly unlikely that there wouldn't be significant similarities to this IP contained in the second implementation, unless he deliberately chose a completely different approach. In which case his previous experience wouldn't be much help. This is why companies trying to clone commercial OSs (for instance) purposely avoid hiring people who have worked on the subject OS. IP that is contained in someones head rather than their HD is still IP.
    – jkf
    11 hours ago












  • @jkf not gong to advocate he chop his head off before doing a job. I don't see an ethical issue and won't try and twist it until I do, because that will never happen
    – Kilisi
    10 hours ago


















up vote
70
down vote













If you don't have any NDA or such similar contracts with your main gig then there is nothing legally or ethically wrong with what you are doing - the way you described it.



Sometimes people are knowledgeable in certain areas for various reasons, it doesn't make you a bad person, it is the opposite, it makes you highly desired and sought after.



On the other hand if you do have a contract stopping you from working for competitors or transfering know-how or other knowledge then you might be breaking some laws/policies - which is not in the scope of this stack.






share|improve this answer

















  • 8




    You are right - just wanted to add, in this case: Public knowledge, such as things covered in textbooks or available on the internet, can not be protected by an NDA. Perfume industry is not a competitor of clothing industry.
    – Daniel
    21 hours ago






  • 4




    I agree with this. It's unethical to copy code, trade secrets, or insider knowledge. Ordinary application-building skills are none of these. This is the difference between, say, a doctor using private patient knowledge from one practice to build up a second one versus using general mad leet doctor skillz gained in the first one to deliver quality care in from the second.
    – Robert Columbia
    20 hours ago








  • 1




    @Robert Columbia : However, what counts as "copying code"? Like if you developed yourself a particular coding trick that was much appreciated, and then you go work for someone else, or work for yourself and apply that same trick - from memory , not cut-and-paste - and/or something derived from it elsewhere. Especially if it produces "substantially similar"-looking code. How bad could this be looked at in terms of your character over the long term?
    – The_Sympathizer
    3 hours ago












  • @Daniel BUT if he's building a system that competes with a similar system marketed by his employer that could be a breach of a non-competition clause in his contract rather than an NDA. I know it'd be for me.
    – jwenting
    1 hour ago


















up vote
27
down vote













It is important to check your contract for things like this. Some contracts have a clause that any code written while you work for company X is owned by company X. They're likely to cede those ownership rights if you're just writing a little game or something unrelated to your main job, but in a case like this where you're writing something relevant and likely to make money for another company, there could be trouble and you'd need to discuss it with your boss before going ahead.






share|improve this answer








New contributor




Juniper83 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.














  • 3




    This. Check your contract and jurisdiction. In many places it's common that all code you write while you're employed (which as salaried employee is 24/7) belongs to your employer. As such you essentially can not do any programming on the side for someone else since you don't have the copyright to the code you write (not applicable in all jurisdictions, obviously).
    – xyious
    15 hours ago






  • 3




    I daresay that contracts like this are ethically much more questionable than the situation the OP asked about, but...
    – leftaroundabout
    14 hours ago








  • 1




    So if OP writes code from scratch for Company A, and Company A has said clause, then OP writes code from scratch from Company B that is very close to the same code OP wrote for Company A, but is still done from scratch, then Company A can claim that they own the code that OP wrote for Company B even though 100% of the work was done FOR Company B? I have not heard of any company having ownership of any work done by an employee of theirs that they did not remunerate the employee for.
    – Bardicer
    13 hours ago






  • 3




    @Bardicer - Sadly, the exact situation you described is legal in some places. For example, only eight US states have laws limiting what an employer can claim ownership of. It's hard to enforce these restrictions if they're too overbearing so abuse is rare, but it does still happen occasionally.
    – bta
    10 hours ago








  • 1




    @Bardicer Whichever company hired him last didn't do their due diligence, and/or the theoretical OP would be on the hook for lying to them. You cannot get into that position in the first place without violating both contracts. Who ends up owning what if someone did something like that regardless is also going to be very jurisdiction-dependent (and probably predicated on the outcome of a lawsuit).
    – Matthew Read
    10 hours ago




















up vote
10
down vote













So there's no moral issue with using transferable skills from one job to do another. Taking the IT issue out of it for a moment, there's no issue with someone who fits boilers for the local gas utility using their knowledge of general plumbing to fix someone's bathroom taps "on the side" at the weekend.



There might be an issue if you were re-using an algorithm or specific code from the main job to work the side job (I do understand from your post that you're not), but again there's no issue with you simply being good at solving a particular type of problem easily that's occurred on your side job because you've seen a lot of it recently at your main job.



If there's enough similarities between the two jobs, you might have contractual issues, but that's a slightly different issue and it's been touched on by others.






share|improve this answer























  • If OP is the one that wrote the code at the day job, it seems probable that there will be some crossover in IP even if he writes it again without looking at the other code?
    – jkf
    11 hours ago










  • @jkf a fair point, and that's one for the lawyers. I know that I've learned enough from one project to take that experience to a new project without too much crossover and I'm taking in good faith the OP's apparent belief that while the solutions are similar, they've not taken code from one to the other.
    – Rob Moir
    11 hours ago










  • @RobMoir Your analogy with a "boiler-fixer" is misleading, because there's no creative work involved that could be subject to IP. That's the part that matters.
    – employee-X
    2 hours ago












  • You mean my analogy where I specifically set the IT (so creative IP) aspect aside first in my answer @employee-X ? That analogy where I was just looking at just the transfer of skills learned in one job to another?
    – Rob Moir
    1 hour ago


















up vote
6
down vote













I don't know where you are, but in the US the copyright on code by employees goes to the employer automatically. It's called "work-for-hire". It's very likely that, wherever you are, what you write for your employer belongs to your employer. (If you used open source software to write your contribution, this may not apply. Check with a lawyer. It's a lot cheaper than losing a lawsuit.)



This means that the software you wrote for the clothing company needs to not be a derivative work of what you wrote for the perfume company, or it's copyright infringement. Your precautions sound inadequate. Despite not looking at the previous code, your software has the same structure and is generally very similar. People have been convicted of copyright infringement for similar things, even when they didn't just write the infringed-upon work.



The software industry uses a "clean room" approach to copying, to avoid copyright problems. One team will look at the code with the functionality to be copied, and write a detailed spec. Another team will get the spec and write the new code. That way, only the ideas go from one room to the other, and there is no infringement.



This is about the legal aspects. Unless your perfume company and clothing company are competitors or potential competitors, this looks ethical to me. Unfortunately, that won't help in court.



My advice in this situation is to talk to a lawyer who specializes in copyright law. If you're in the US, the odds are that you can get a quick consultation for a reasonable fee through your local bar association. The perfume company might not care, or might not find out, or might not pursue a lawsuit for a variety of reasons. However, if they do, it could wind up being very expensive for you.






share|improve this answer























  • This is probably the best answer, no idea why it is getting downvotes -- some of the highly voted answers are downright dangerous! There's a comment suggesting that OP base his "side gig" code on some preexisting open source rather than out of his head -- maybe working this into your answer would be an improvement?
    – jkf
    11 hours ago






  • 1




    +1, I like that this hits on the fact that it unfortunately doesn't really matter if OP is in the right or not, if the company decides to pursue, it could be problematic.
    – helrich
    11 hours ago










  • @jkf I think the "there is definitely no problem with this" answers are getting upvotes because most people have a strong moral sense that he has the right to use his experience anywhere - and the question is about ethics, after all. The question of what is legally enforceable is separate from the question of what is morally right.
    – Brilliand
    8 hours ago










  • @Brilliand IDK, is "render unto Caesar" a moral concept?
    – jkf
    8 hours ago










  • @jkf Personally I'd go with no, but that's a complicated topic that probably doesn't belong in this comment thread. (I can think of four different viable positions, off the top of my head.)
    – Brilliand
    7 hours ago


















up vote
5
down vote













It may be far more complicated than other answers allude to.



Depending on jurisdiction you may (IANAL, so consult your lawyer) fall foul of laws that prohibit employees from competing against the company they work for.



Markedsføringloven §23 (in danish)




Har den pågældende fået kendskab til eller fået rådighed over den erhvervsdrivendes erhvervshemmeligheder på retmæssig måde, må den pågældende ikke ubeføjet viderebringe eller benytte sådanne hemmeligheder. Forbuddet gælder i 3 år efter tjenesteforholdets, samarbejdsforholdets eller hvervets ophør.




My rewrite in english (not a direct translation, written purely from an employee's view):




If the employee has gained knowledge of or gained access to the trade secrets lawfully the emloyee may not without permission use or ditribute such trade secrets. The ban is in effect for 3 years after the employment has ended.




So if any part of the algorithm or the way it is used can be construed as a trade secret the company may be able to sue for damages or at least have a solid defense against an unlawful termination suit.



Laws like this may exist in many jurisdictions even if nothing is mentioned in the employment contract.






share|improve this answer




























    up vote
    1
    down vote













    It sounds like you've covered your bases with regards to the ethical and legal stuff. Your knowledge as a programmer of how to make recommendation systems isn't something your main gig can 'own'. As you didn't use the code from your main employer's codebase, you're pretty much in the clear.






    share|improve this answer

















    • 2




      This is something I've always wondered about. If he rewrote the whole thing almost identically from memory - how could he prove he didn't just reuse the codebase?
      – Matadeleo
      20 hours ago










    • @Matadeleo there is a big difference with "from memory - i remember the classes i wrote exactly and typed it out again the same" and "from memory - i remember the parts of code i needed by rewrote it". The second will for any system thats even slightly complicated result in a different set of code, probably a better set too as it will have everything he learnt from the first one in.
      – J.Doe
      18 hours ago






    • 1




      @Matadeleo If you copy code completely or partially, that is considered a copy and derivative work. The actual technique you use doesn't matter. You could have used the "copy file" function of your computer, you could have used "copy/paste", or you could have memorized it and reproduce it elsewhere at a later time. Reproduction is reproduction all the same.
      – Brandin
      13 hours ago




















    up vote
    0
    down vote














    Did I do anything legally or ethically wrong?




    Transfer of knowledge, as long it doesn't include trade secrets or actual IP, is legally OK.



    Use of your time in side gigs you may wish to double-check:




    • Eight hours a week is not much - are you really containing your efforts into that time? How do support issues with your "side gig" work get resolved without impacting time on the main job?


    • Are you burning yourself out and reducing your efficiency at the other job? This is not necessarily an ethical consideration, because an employer should not have control over what you do in your spare time. However, if you get no rest at weekends, or too many late nights, then your performance could well slip at the larger job.



    An employer might still fire you with cause if your performance slips, or you juggle your time too much for their comfort - it doesn't matter whether it is because you spend your time partying or on a side gig. Likewise your side gig employer might appreciate the cheap product you have made for them, but might become frustrated at low level of support you are able to provide.



    Check your contracts for clauses that cover conflicts of interest in general. It would be ethically and maybe also legally wrong to be moonlighting when you have signed a written agreement to not do so. Clauses in employment contracts requiring your employer to effectively be your sole employer are relatively common, due to concerns on performance and on leaks of IP (even if you fully intend not to leak IP, your employer only has your say-so that you are not, they cannot audit the work for the other employer).



    Also, do bear in mind, that although you feel within your rights to act in a certain way, and it could even be legally backed up, your employer may decide otherwise. Perhaps they are still concerned about possible loss of their IP, and would fire you or even take legal action against you. Even if you would win such a case, you may not wish to go through the process or have it affect your main career, for the sake of whatever money you can make on a 20% part time role.



    Bad scenarios could be more likely if you have kept the side gig secret from your main employer. You can do a lot towards clearing whether your employer thinks this idea is ethical and legal by asking them about it. You will also get your chance to frame the possible conflict of interest as something that you will handle professionally, before it gets discovered any other way.



    It is probably more important to you that your main employer has a positive view of the ethical and legal status of your side gig, than the Q&A on this site.






    share|improve this answer




























      up vote
      0
      down vote













      I agree with all the above answers. But but I will add two more considerations: antitrust laws and conflict of interest.



      Antitrust. If job A and job B are competitors, and if your country has antitrust laws, then you should evaluate if the knowledge transfer is related to prices, market strategy, etc. Ask if the knowledge transfer benefit your employer(s) at the expense of customers. Be certain you aren't breaking antitrust laws.



      Conflict of interest. Decide if the knowledge transfer harms one employer. For example, if the knowledge that you are transferring is a customer list, and you want to redirect business from one company to another, especially if you own the benefited company, that seems unethical.






      share|improve this answer








      New contributor




      RJH is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.

























        up vote
        0
        down vote













        Besides the legal considerations - which some of the more skeptical answers have already touched on - I also feel this approach is a bit unethical. Having been a consultant for most of the past twenty years I would not code something similar to what I am doing for another client. The forty-ish hours per week company is apparently unaware of -and likely an unwilling party to - what amounts to subsidizing the side work.






        share|improve this answer




























          up vote
          0
          down vote













          Check your contract of employment.



          I know mine states clearly that I may not perform work for hire outside my main job. It also states that I may not engage in activities that are potentially directly or indirectly in competition with those of my employer, which would include building or maintaining a system similar to what I work on professionally for an open source project or charitable work for example.



          Under either of those clauses, what you want to do would be a breach of contract with your employer, not just a ground for instant termination but also for having to pay quite a lot of money in damages to your employer.



          Mind that some contracts go way beyond what's legally acceptable in such clauses, and a court might then decide to deem the clause inapplicable, but that's for lawyers and judges to decide, not for you.
          For example I once was offered a contract that stated that I would not be allowed to perform my profession for 10 years after leaving their employ through any means (so even if they laid me off rather than me quitting). After consultation with experts in applicable law and getting letters from them, they were forced to remove that clause.



          So check your contract carefully, it's almost certainly not something you're allowed to do for a commercial entity, and possibly you won't be allowed to do it for a non-profit or other charitable work either.






          share|improve this answer




























            up vote
            -3
            down vote













            Yes of course! It is your knowledge! Doesn't matter where you got this from!






            share|improve this answer











            We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.










            • 6




              without an explanation, this answer may become useless in case if someone else posts an opposite opinion. For example, if someone posts a claim like "No of course! It is not just your knowledge! It matters where you got this from!", how would this answer help reader to pick of two opposing opinions? Consider editing it into a better shape, to meet How to Answer guidelines
              – gnat
              19 hours ago










            protected by Jane S 9 hours ago



            Thank you for your interest in this question.
            Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



            Would you like to answer one of these unanswered questions instead?














            12 Answers
            12






            active

            oldest

            votes








            12 Answers
            12






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            181
            down vote



            accepted










            There is no ethical dilemna here. The simple fact that experience allows you do something more efficiently has nothing to do with ethics.






            share|improve this answer



















            • 9




              Agreed. @wwl did you bring any experience from previous work to your perfume company job? So long as you don't reuse documentation, code or tests from the perfume job on the clothing job, then it is the same thing.
              – Mawg
              yesterday






            • 5




              I would add that there is no "conflict of interest" here because the 2 companies are in entirely different industries. So don't sweat it :)
              – vikingsteve
              20 hours ago






            • 3




              Knowledge ("how" in this case, as opposed to "what") and skills gained are not intellectual property. No company can prevent you from putting those skills to use. My current employer even went so far too say that if we build a tool (eg a recommendation system), we're ok taking that code with us. It just can't have or use propriety information (eg contain or access their customer or product data). Might not be the case with you, just saying how my current employer broke things down.
              – Draco18s
              16 hours ago












            • Goes a bit further than simple experience though, don't you think? OP wrote the code for his day job, so it seems highly unlikely that there wouldn't be significant similarities to this IP contained in the second implementation, unless he deliberately chose a completely different approach. In which case his previous experience wouldn't be much help. This is why companies trying to clone commercial OSs (for instance) purposely avoid hiring people who have worked on the subject OS. IP that is contained in someones head rather than their HD is still IP.
              – jkf
              11 hours ago












            • @jkf not gong to advocate he chop his head off before doing a job. I don't see an ethical issue and won't try and twist it until I do, because that will never happen
              – Kilisi
              10 hours ago















            up vote
            181
            down vote



            accepted










            There is no ethical dilemna here. The simple fact that experience allows you do something more efficiently has nothing to do with ethics.






            share|improve this answer



















            • 9




              Agreed. @wwl did you bring any experience from previous work to your perfume company job? So long as you don't reuse documentation, code or tests from the perfume job on the clothing job, then it is the same thing.
              – Mawg
              yesterday






            • 5




              I would add that there is no "conflict of interest" here because the 2 companies are in entirely different industries. So don't sweat it :)
              – vikingsteve
              20 hours ago






            • 3




              Knowledge ("how" in this case, as opposed to "what") and skills gained are not intellectual property. No company can prevent you from putting those skills to use. My current employer even went so far too say that if we build a tool (eg a recommendation system), we're ok taking that code with us. It just can't have or use propriety information (eg contain or access their customer or product data). Might not be the case with you, just saying how my current employer broke things down.
              – Draco18s
              16 hours ago












            • Goes a bit further than simple experience though, don't you think? OP wrote the code for his day job, so it seems highly unlikely that there wouldn't be significant similarities to this IP contained in the second implementation, unless he deliberately chose a completely different approach. In which case his previous experience wouldn't be much help. This is why companies trying to clone commercial OSs (for instance) purposely avoid hiring people who have worked on the subject OS. IP that is contained in someones head rather than their HD is still IP.
              – jkf
              11 hours ago












            • @jkf not gong to advocate he chop his head off before doing a job. I don't see an ethical issue and won't try and twist it until I do, because that will never happen
              – Kilisi
              10 hours ago













            up vote
            181
            down vote



            accepted







            up vote
            181
            down vote



            accepted






            There is no ethical dilemna here. The simple fact that experience allows you do something more efficiently has nothing to do with ethics.






            share|improve this answer














            There is no ethical dilemna here. The simple fact that experience allows you do something more efficiently has nothing to do with ethics.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited 18 hours ago









            henning

            1776




            1776










            answered yesterday









            Kilisi

            106k59241418




            106k59241418








            • 9




              Agreed. @wwl did you bring any experience from previous work to your perfume company job? So long as you don't reuse documentation, code or tests from the perfume job on the clothing job, then it is the same thing.
              – Mawg
              yesterday






            • 5




              I would add that there is no "conflict of interest" here because the 2 companies are in entirely different industries. So don't sweat it :)
              – vikingsteve
              20 hours ago






            • 3




              Knowledge ("how" in this case, as opposed to "what") and skills gained are not intellectual property. No company can prevent you from putting those skills to use. My current employer even went so far too say that if we build a tool (eg a recommendation system), we're ok taking that code with us. It just can't have or use propriety information (eg contain or access their customer or product data). Might not be the case with you, just saying how my current employer broke things down.
              – Draco18s
              16 hours ago












            • Goes a bit further than simple experience though, don't you think? OP wrote the code for his day job, so it seems highly unlikely that there wouldn't be significant similarities to this IP contained in the second implementation, unless he deliberately chose a completely different approach. In which case his previous experience wouldn't be much help. This is why companies trying to clone commercial OSs (for instance) purposely avoid hiring people who have worked on the subject OS. IP that is contained in someones head rather than their HD is still IP.
              – jkf
              11 hours ago












            • @jkf not gong to advocate he chop his head off before doing a job. I don't see an ethical issue and won't try and twist it until I do, because that will never happen
              – Kilisi
              10 hours ago














            • 9




              Agreed. @wwl did you bring any experience from previous work to your perfume company job? So long as you don't reuse documentation, code or tests from the perfume job on the clothing job, then it is the same thing.
              – Mawg
              yesterday






            • 5




              I would add that there is no "conflict of interest" here because the 2 companies are in entirely different industries. So don't sweat it :)
              – vikingsteve
              20 hours ago






            • 3




              Knowledge ("how" in this case, as opposed to "what") and skills gained are not intellectual property. No company can prevent you from putting those skills to use. My current employer even went so far too say that if we build a tool (eg a recommendation system), we're ok taking that code with us. It just can't have or use propriety information (eg contain or access their customer or product data). Might not be the case with you, just saying how my current employer broke things down.
              – Draco18s
              16 hours ago












            • Goes a bit further than simple experience though, don't you think? OP wrote the code for his day job, so it seems highly unlikely that there wouldn't be significant similarities to this IP contained in the second implementation, unless he deliberately chose a completely different approach. In which case his previous experience wouldn't be much help. This is why companies trying to clone commercial OSs (for instance) purposely avoid hiring people who have worked on the subject OS. IP that is contained in someones head rather than their HD is still IP.
              – jkf
              11 hours ago












            • @jkf not gong to advocate he chop his head off before doing a job. I don't see an ethical issue and won't try and twist it until I do, because that will never happen
              – Kilisi
              10 hours ago








            9




            9




            Agreed. @wwl did you bring any experience from previous work to your perfume company job? So long as you don't reuse documentation, code or tests from the perfume job on the clothing job, then it is the same thing.
            – Mawg
            yesterday




            Agreed. @wwl did you bring any experience from previous work to your perfume company job? So long as you don't reuse documentation, code or tests from the perfume job on the clothing job, then it is the same thing.
            – Mawg
            yesterday




            5




            5




            I would add that there is no "conflict of interest" here because the 2 companies are in entirely different industries. So don't sweat it :)
            – vikingsteve
            20 hours ago




            I would add that there is no "conflict of interest" here because the 2 companies are in entirely different industries. So don't sweat it :)
            – vikingsteve
            20 hours ago




            3




            3




            Knowledge ("how" in this case, as opposed to "what") and skills gained are not intellectual property. No company can prevent you from putting those skills to use. My current employer even went so far too say that if we build a tool (eg a recommendation system), we're ok taking that code with us. It just can't have or use propriety information (eg contain or access their customer or product data). Might not be the case with you, just saying how my current employer broke things down.
            – Draco18s
            16 hours ago






            Knowledge ("how" in this case, as opposed to "what") and skills gained are not intellectual property. No company can prevent you from putting those skills to use. My current employer even went so far too say that if we build a tool (eg a recommendation system), we're ok taking that code with us. It just can't have or use propriety information (eg contain or access their customer or product data). Might not be the case with you, just saying how my current employer broke things down.
            – Draco18s
            16 hours ago














            Goes a bit further than simple experience though, don't you think? OP wrote the code for his day job, so it seems highly unlikely that there wouldn't be significant similarities to this IP contained in the second implementation, unless he deliberately chose a completely different approach. In which case his previous experience wouldn't be much help. This is why companies trying to clone commercial OSs (for instance) purposely avoid hiring people who have worked on the subject OS. IP that is contained in someones head rather than their HD is still IP.
            – jkf
            11 hours ago






            Goes a bit further than simple experience though, don't you think? OP wrote the code for his day job, so it seems highly unlikely that there wouldn't be significant similarities to this IP contained in the second implementation, unless he deliberately chose a completely different approach. In which case his previous experience wouldn't be much help. This is why companies trying to clone commercial OSs (for instance) purposely avoid hiring people who have worked on the subject OS. IP that is contained in someones head rather than their HD is still IP.
            – jkf
            11 hours ago














            @jkf not gong to advocate he chop his head off before doing a job. I don't see an ethical issue and won't try and twist it until I do, because that will never happen
            – Kilisi
            10 hours ago




            @jkf not gong to advocate he chop his head off before doing a job. I don't see an ethical issue and won't try and twist it until I do, because that will never happen
            – Kilisi
            10 hours ago












            up vote
            70
            down vote













            If you don't have any NDA or such similar contracts with your main gig then there is nothing legally or ethically wrong with what you are doing - the way you described it.



            Sometimes people are knowledgeable in certain areas for various reasons, it doesn't make you a bad person, it is the opposite, it makes you highly desired and sought after.



            On the other hand if you do have a contract stopping you from working for competitors or transfering know-how or other knowledge then you might be breaking some laws/policies - which is not in the scope of this stack.






            share|improve this answer

















            • 8




              You are right - just wanted to add, in this case: Public knowledge, such as things covered in textbooks or available on the internet, can not be protected by an NDA. Perfume industry is not a competitor of clothing industry.
              – Daniel
              21 hours ago






            • 4




              I agree with this. It's unethical to copy code, trade secrets, or insider knowledge. Ordinary application-building skills are none of these. This is the difference between, say, a doctor using private patient knowledge from one practice to build up a second one versus using general mad leet doctor skillz gained in the first one to deliver quality care in from the second.
              – Robert Columbia
              20 hours ago








            • 1




              @Robert Columbia : However, what counts as "copying code"? Like if you developed yourself a particular coding trick that was much appreciated, and then you go work for someone else, or work for yourself and apply that same trick - from memory , not cut-and-paste - and/or something derived from it elsewhere. Especially if it produces "substantially similar"-looking code. How bad could this be looked at in terms of your character over the long term?
              – The_Sympathizer
              3 hours ago












            • @Daniel BUT if he's building a system that competes with a similar system marketed by his employer that could be a breach of a non-competition clause in his contract rather than an NDA. I know it'd be for me.
              – jwenting
              1 hour ago















            up vote
            70
            down vote













            If you don't have any NDA or such similar contracts with your main gig then there is nothing legally or ethically wrong with what you are doing - the way you described it.



            Sometimes people are knowledgeable in certain areas for various reasons, it doesn't make you a bad person, it is the opposite, it makes you highly desired and sought after.



            On the other hand if you do have a contract stopping you from working for competitors or transfering know-how or other knowledge then you might be breaking some laws/policies - which is not in the scope of this stack.






            share|improve this answer

















            • 8




              You are right - just wanted to add, in this case: Public knowledge, such as things covered in textbooks or available on the internet, can not be protected by an NDA. Perfume industry is not a competitor of clothing industry.
              – Daniel
              21 hours ago






            • 4




              I agree with this. It's unethical to copy code, trade secrets, or insider knowledge. Ordinary application-building skills are none of these. This is the difference between, say, a doctor using private patient knowledge from one practice to build up a second one versus using general mad leet doctor skillz gained in the first one to deliver quality care in from the second.
              – Robert Columbia
              20 hours ago








            • 1




              @Robert Columbia : However, what counts as "copying code"? Like if you developed yourself a particular coding trick that was much appreciated, and then you go work for someone else, or work for yourself and apply that same trick - from memory , not cut-and-paste - and/or something derived from it elsewhere. Especially if it produces "substantially similar"-looking code. How bad could this be looked at in terms of your character over the long term?
              – The_Sympathizer
              3 hours ago












            • @Daniel BUT if he's building a system that competes with a similar system marketed by his employer that could be a breach of a non-competition clause in his contract rather than an NDA. I know it'd be for me.
              – jwenting
              1 hour ago













            up vote
            70
            down vote










            up vote
            70
            down vote









            If you don't have any NDA or such similar contracts with your main gig then there is nothing legally or ethically wrong with what you are doing - the way you described it.



            Sometimes people are knowledgeable in certain areas for various reasons, it doesn't make you a bad person, it is the opposite, it makes you highly desired and sought after.



            On the other hand if you do have a contract stopping you from working for competitors or transfering know-how or other knowledge then you might be breaking some laws/policies - which is not in the scope of this stack.






            share|improve this answer












            If you don't have any NDA or such similar contracts with your main gig then there is nothing legally or ethically wrong with what you are doing - the way you described it.



            Sometimes people are knowledgeable in certain areas for various reasons, it doesn't make you a bad person, it is the opposite, it makes you highly desired and sought after.



            On the other hand if you do have a contract stopping you from working for competitors or transfering know-how or other knowledge then you might be breaking some laws/policies - which is not in the scope of this stack.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered yesterday









            solarflare

            4,77611231




            4,77611231








            • 8




              You are right - just wanted to add, in this case: Public knowledge, such as things covered in textbooks or available on the internet, can not be protected by an NDA. Perfume industry is not a competitor of clothing industry.
              – Daniel
              21 hours ago






            • 4




              I agree with this. It's unethical to copy code, trade secrets, or insider knowledge. Ordinary application-building skills are none of these. This is the difference between, say, a doctor using private patient knowledge from one practice to build up a second one versus using general mad leet doctor skillz gained in the first one to deliver quality care in from the second.
              – Robert Columbia
              20 hours ago








            • 1




              @Robert Columbia : However, what counts as "copying code"? Like if you developed yourself a particular coding trick that was much appreciated, and then you go work for someone else, or work for yourself and apply that same trick - from memory , not cut-and-paste - and/or something derived from it elsewhere. Especially if it produces "substantially similar"-looking code. How bad could this be looked at in terms of your character over the long term?
              – The_Sympathizer
              3 hours ago












            • @Daniel BUT if he's building a system that competes with a similar system marketed by his employer that could be a breach of a non-competition clause in his contract rather than an NDA. I know it'd be for me.
              – jwenting
              1 hour ago














            • 8




              You are right - just wanted to add, in this case: Public knowledge, such as things covered in textbooks or available on the internet, can not be protected by an NDA. Perfume industry is not a competitor of clothing industry.
              – Daniel
              21 hours ago






            • 4




              I agree with this. It's unethical to copy code, trade secrets, or insider knowledge. Ordinary application-building skills are none of these. This is the difference between, say, a doctor using private patient knowledge from one practice to build up a second one versus using general mad leet doctor skillz gained in the first one to deliver quality care in from the second.
              – Robert Columbia
              20 hours ago








            • 1




              @Robert Columbia : However, what counts as "copying code"? Like if you developed yourself a particular coding trick that was much appreciated, and then you go work for someone else, or work for yourself and apply that same trick - from memory , not cut-and-paste - and/or something derived from it elsewhere. Especially if it produces "substantially similar"-looking code. How bad could this be looked at in terms of your character over the long term?
              – The_Sympathizer
              3 hours ago












            • @Daniel BUT if he's building a system that competes with a similar system marketed by his employer that could be a breach of a non-competition clause in his contract rather than an NDA. I know it'd be for me.
              – jwenting
              1 hour ago








            8




            8




            You are right - just wanted to add, in this case: Public knowledge, such as things covered in textbooks or available on the internet, can not be protected by an NDA. Perfume industry is not a competitor of clothing industry.
            – Daniel
            21 hours ago




            You are right - just wanted to add, in this case: Public knowledge, such as things covered in textbooks or available on the internet, can not be protected by an NDA. Perfume industry is not a competitor of clothing industry.
            – Daniel
            21 hours ago




            4




            4




            I agree with this. It's unethical to copy code, trade secrets, or insider knowledge. Ordinary application-building skills are none of these. This is the difference between, say, a doctor using private patient knowledge from one practice to build up a second one versus using general mad leet doctor skillz gained in the first one to deliver quality care in from the second.
            – Robert Columbia
            20 hours ago






            I agree with this. It's unethical to copy code, trade secrets, or insider knowledge. Ordinary application-building skills are none of these. This is the difference between, say, a doctor using private patient knowledge from one practice to build up a second one versus using general mad leet doctor skillz gained in the first one to deliver quality care in from the second.
            – Robert Columbia
            20 hours ago






            1




            1




            @Robert Columbia : However, what counts as "copying code"? Like if you developed yourself a particular coding trick that was much appreciated, and then you go work for someone else, or work for yourself and apply that same trick - from memory , not cut-and-paste - and/or something derived from it elsewhere. Especially if it produces "substantially similar"-looking code. How bad could this be looked at in terms of your character over the long term?
            – The_Sympathizer
            3 hours ago






            @Robert Columbia : However, what counts as "copying code"? Like if you developed yourself a particular coding trick that was much appreciated, and then you go work for someone else, or work for yourself and apply that same trick - from memory , not cut-and-paste - and/or something derived from it elsewhere. Especially if it produces "substantially similar"-looking code. How bad could this be looked at in terms of your character over the long term?
            – The_Sympathizer
            3 hours ago














            @Daniel BUT if he's building a system that competes with a similar system marketed by his employer that could be a breach of a non-competition clause in his contract rather than an NDA. I know it'd be for me.
            – jwenting
            1 hour ago




            @Daniel BUT if he's building a system that competes with a similar system marketed by his employer that could be a breach of a non-competition clause in his contract rather than an NDA. I know it'd be for me.
            – jwenting
            1 hour ago










            up vote
            27
            down vote













            It is important to check your contract for things like this. Some contracts have a clause that any code written while you work for company X is owned by company X. They're likely to cede those ownership rights if you're just writing a little game or something unrelated to your main job, but in a case like this where you're writing something relevant and likely to make money for another company, there could be trouble and you'd need to discuss it with your boss before going ahead.






            share|improve this answer








            New contributor




            Juniper83 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.














            • 3




              This. Check your contract and jurisdiction. In many places it's common that all code you write while you're employed (which as salaried employee is 24/7) belongs to your employer. As such you essentially can not do any programming on the side for someone else since you don't have the copyright to the code you write (not applicable in all jurisdictions, obviously).
              – xyious
              15 hours ago






            • 3




              I daresay that contracts like this are ethically much more questionable than the situation the OP asked about, but...
              – leftaroundabout
              14 hours ago








            • 1




              So if OP writes code from scratch for Company A, and Company A has said clause, then OP writes code from scratch from Company B that is very close to the same code OP wrote for Company A, but is still done from scratch, then Company A can claim that they own the code that OP wrote for Company B even though 100% of the work was done FOR Company B? I have not heard of any company having ownership of any work done by an employee of theirs that they did not remunerate the employee for.
              – Bardicer
              13 hours ago






            • 3




              @Bardicer - Sadly, the exact situation you described is legal in some places. For example, only eight US states have laws limiting what an employer can claim ownership of. It's hard to enforce these restrictions if they're too overbearing so abuse is rare, but it does still happen occasionally.
              – bta
              10 hours ago








            • 1




              @Bardicer Whichever company hired him last didn't do their due diligence, and/or the theoretical OP would be on the hook for lying to them. You cannot get into that position in the first place without violating both contracts. Who ends up owning what if someone did something like that regardless is also going to be very jurisdiction-dependent (and probably predicated on the outcome of a lawsuit).
              – Matthew Read
              10 hours ago

















            up vote
            27
            down vote













            It is important to check your contract for things like this. Some contracts have a clause that any code written while you work for company X is owned by company X. They're likely to cede those ownership rights if you're just writing a little game or something unrelated to your main job, but in a case like this where you're writing something relevant and likely to make money for another company, there could be trouble and you'd need to discuss it with your boss before going ahead.






            share|improve this answer








            New contributor




            Juniper83 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.














            • 3




              This. Check your contract and jurisdiction. In many places it's common that all code you write while you're employed (which as salaried employee is 24/7) belongs to your employer. As such you essentially can not do any programming on the side for someone else since you don't have the copyright to the code you write (not applicable in all jurisdictions, obviously).
              – xyious
              15 hours ago






            • 3




              I daresay that contracts like this are ethically much more questionable than the situation the OP asked about, but...
              – leftaroundabout
              14 hours ago








            • 1




              So if OP writes code from scratch for Company A, and Company A has said clause, then OP writes code from scratch from Company B that is very close to the same code OP wrote for Company A, but is still done from scratch, then Company A can claim that they own the code that OP wrote for Company B even though 100% of the work was done FOR Company B? I have not heard of any company having ownership of any work done by an employee of theirs that they did not remunerate the employee for.
              – Bardicer
              13 hours ago






            • 3




              @Bardicer - Sadly, the exact situation you described is legal in some places. For example, only eight US states have laws limiting what an employer can claim ownership of. It's hard to enforce these restrictions if they're too overbearing so abuse is rare, but it does still happen occasionally.
              – bta
              10 hours ago








            • 1




              @Bardicer Whichever company hired him last didn't do their due diligence, and/or the theoretical OP would be on the hook for lying to them. You cannot get into that position in the first place without violating both contracts. Who ends up owning what if someone did something like that regardless is also going to be very jurisdiction-dependent (and probably predicated on the outcome of a lawsuit).
              – Matthew Read
              10 hours ago















            up vote
            27
            down vote










            up vote
            27
            down vote









            It is important to check your contract for things like this. Some contracts have a clause that any code written while you work for company X is owned by company X. They're likely to cede those ownership rights if you're just writing a little game or something unrelated to your main job, but in a case like this where you're writing something relevant and likely to make money for another company, there could be trouble and you'd need to discuss it with your boss before going ahead.






            share|improve this answer








            New contributor




            Juniper83 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.









            It is important to check your contract for things like this. Some contracts have a clause that any code written while you work for company X is owned by company X. They're likely to cede those ownership rights if you're just writing a little game or something unrelated to your main job, but in a case like this where you're writing something relevant and likely to make money for another company, there could be trouble and you'd need to discuss it with your boss before going ahead.







            share|improve this answer








            New contributor




            Juniper83 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.









            share|improve this answer



            share|improve this answer






            New contributor




            Juniper83 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.









            answered 21 hours ago









            Juniper83

            26113




            26113




            New contributor




            Juniper83 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.





            New contributor





            Juniper83 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.






            Juniper83 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.








            • 3




              This. Check your contract and jurisdiction. In many places it's common that all code you write while you're employed (which as salaried employee is 24/7) belongs to your employer. As such you essentially can not do any programming on the side for someone else since you don't have the copyright to the code you write (not applicable in all jurisdictions, obviously).
              – xyious
              15 hours ago






            • 3




              I daresay that contracts like this are ethically much more questionable than the situation the OP asked about, but...
              – leftaroundabout
              14 hours ago








            • 1




              So if OP writes code from scratch for Company A, and Company A has said clause, then OP writes code from scratch from Company B that is very close to the same code OP wrote for Company A, but is still done from scratch, then Company A can claim that they own the code that OP wrote for Company B even though 100% of the work was done FOR Company B? I have not heard of any company having ownership of any work done by an employee of theirs that they did not remunerate the employee for.
              – Bardicer
              13 hours ago






            • 3




              @Bardicer - Sadly, the exact situation you described is legal in some places. For example, only eight US states have laws limiting what an employer can claim ownership of. It's hard to enforce these restrictions if they're too overbearing so abuse is rare, but it does still happen occasionally.
              – bta
              10 hours ago








            • 1




              @Bardicer Whichever company hired him last didn't do their due diligence, and/or the theoretical OP would be on the hook for lying to them. You cannot get into that position in the first place without violating both contracts. Who ends up owning what if someone did something like that regardless is also going to be very jurisdiction-dependent (and probably predicated on the outcome of a lawsuit).
              – Matthew Read
              10 hours ago
















            • 3




              This. Check your contract and jurisdiction. In many places it's common that all code you write while you're employed (which as salaried employee is 24/7) belongs to your employer. As such you essentially can not do any programming on the side for someone else since you don't have the copyright to the code you write (not applicable in all jurisdictions, obviously).
              – xyious
              15 hours ago






            • 3




              I daresay that contracts like this are ethically much more questionable than the situation the OP asked about, but...
              – leftaroundabout
              14 hours ago








            • 1




              So if OP writes code from scratch for Company A, and Company A has said clause, then OP writes code from scratch from Company B that is very close to the same code OP wrote for Company A, but is still done from scratch, then Company A can claim that they own the code that OP wrote for Company B even though 100% of the work was done FOR Company B? I have not heard of any company having ownership of any work done by an employee of theirs that they did not remunerate the employee for.
              – Bardicer
              13 hours ago






            • 3




              @Bardicer - Sadly, the exact situation you described is legal in some places. For example, only eight US states have laws limiting what an employer can claim ownership of. It's hard to enforce these restrictions if they're too overbearing so abuse is rare, but it does still happen occasionally.
              – bta
              10 hours ago








            • 1




              @Bardicer Whichever company hired him last didn't do their due diligence, and/or the theoretical OP would be on the hook for lying to them. You cannot get into that position in the first place without violating both contracts. Who ends up owning what if someone did something like that regardless is also going to be very jurisdiction-dependent (and probably predicated on the outcome of a lawsuit).
              – Matthew Read
              10 hours ago










            3




            3




            This. Check your contract and jurisdiction. In many places it's common that all code you write while you're employed (which as salaried employee is 24/7) belongs to your employer. As such you essentially can not do any programming on the side for someone else since you don't have the copyright to the code you write (not applicable in all jurisdictions, obviously).
            – xyious
            15 hours ago




            This. Check your contract and jurisdiction. In many places it's common that all code you write while you're employed (which as salaried employee is 24/7) belongs to your employer. As such you essentially can not do any programming on the side for someone else since you don't have the copyright to the code you write (not applicable in all jurisdictions, obviously).
            – xyious
            15 hours ago




            3




            3




            I daresay that contracts like this are ethically much more questionable than the situation the OP asked about, but...
            – leftaroundabout
            14 hours ago






            I daresay that contracts like this are ethically much more questionable than the situation the OP asked about, but...
            – leftaroundabout
            14 hours ago






            1




            1




            So if OP writes code from scratch for Company A, and Company A has said clause, then OP writes code from scratch from Company B that is very close to the same code OP wrote for Company A, but is still done from scratch, then Company A can claim that they own the code that OP wrote for Company B even though 100% of the work was done FOR Company B? I have not heard of any company having ownership of any work done by an employee of theirs that they did not remunerate the employee for.
            – Bardicer
            13 hours ago




            So if OP writes code from scratch for Company A, and Company A has said clause, then OP writes code from scratch from Company B that is very close to the same code OP wrote for Company A, but is still done from scratch, then Company A can claim that they own the code that OP wrote for Company B even though 100% of the work was done FOR Company B? I have not heard of any company having ownership of any work done by an employee of theirs that they did not remunerate the employee for.
            – Bardicer
            13 hours ago




            3




            3




            @Bardicer - Sadly, the exact situation you described is legal in some places. For example, only eight US states have laws limiting what an employer can claim ownership of. It's hard to enforce these restrictions if they're too overbearing so abuse is rare, but it does still happen occasionally.
            – bta
            10 hours ago






            @Bardicer - Sadly, the exact situation you described is legal in some places. For example, only eight US states have laws limiting what an employer can claim ownership of. It's hard to enforce these restrictions if they're too overbearing so abuse is rare, but it does still happen occasionally.
            – bta
            10 hours ago






            1




            1




            @Bardicer Whichever company hired him last didn't do their due diligence, and/or the theoretical OP would be on the hook for lying to them. You cannot get into that position in the first place without violating both contracts. Who ends up owning what if someone did something like that regardless is also going to be very jurisdiction-dependent (and probably predicated on the outcome of a lawsuit).
            – Matthew Read
            10 hours ago






            @Bardicer Whichever company hired him last didn't do their due diligence, and/or the theoretical OP would be on the hook for lying to them. You cannot get into that position in the first place without violating both contracts. Who ends up owning what if someone did something like that regardless is also going to be very jurisdiction-dependent (and probably predicated on the outcome of a lawsuit).
            – Matthew Read
            10 hours ago












            up vote
            10
            down vote













            So there's no moral issue with using transferable skills from one job to do another. Taking the IT issue out of it for a moment, there's no issue with someone who fits boilers for the local gas utility using their knowledge of general plumbing to fix someone's bathroom taps "on the side" at the weekend.



            There might be an issue if you were re-using an algorithm or specific code from the main job to work the side job (I do understand from your post that you're not), but again there's no issue with you simply being good at solving a particular type of problem easily that's occurred on your side job because you've seen a lot of it recently at your main job.



            If there's enough similarities between the two jobs, you might have contractual issues, but that's a slightly different issue and it's been touched on by others.






            share|improve this answer























            • If OP is the one that wrote the code at the day job, it seems probable that there will be some crossover in IP even if he writes it again without looking at the other code?
              – jkf
              11 hours ago










            • @jkf a fair point, and that's one for the lawyers. I know that I've learned enough from one project to take that experience to a new project without too much crossover and I'm taking in good faith the OP's apparent belief that while the solutions are similar, they've not taken code from one to the other.
              – Rob Moir
              11 hours ago










            • @RobMoir Your analogy with a "boiler-fixer" is misleading, because there's no creative work involved that could be subject to IP. That's the part that matters.
              – employee-X
              2 hours ago












            • You mean my analogy where I specifically set the IT (so creative IP) aspect aside first in my answer @employee-X ? That analogy where I was just looking at just the transfer of skills learned in one job to another?
              – Rob Moir
              1 hour ago















            up vote
            10
            down vote













            So there's no moral issue with using transferable skills from one job to do another. Taking the IT issue out of it for a moment, there's no issue with someone who fits boilers for the local gas utility using their knowledge of general plumbing to fix someone's bathroom taps "on the side" at the weekend.



            There might be an issue if you were re-using an algorithm or specific code from the main job to work the side job (I do understand from your post that you're not), but again there's no issue with you simply being good at solving a particular type of problem easily that's occurred on your side job because you've seen a lot of it recently at your main job.



            If there's enough similarities between the two jobs, you might have contractual issues, but that's a slightly different issue and it's been touched on by others.






            share|improve this answer























            • If OP is the one that wrote the code at the day job, it seems probable that there will be some crossover in IP even if he writes it again without looking at the other code?
              – jkf
              11 hours ago










            • @jkf a fair point, and that's one for the lawyers. I know that I've learned enough from one project to take that experience to a new project without too much crossover and I'm taking in good faith the OP's apparent belief that while the solutions are similar, they've not taken code from one to the other.
              – Rob Moir
              11 hours ago










            • @RobMoir Your analogy with a "boiler-fixer" is misleading, because there's no creative work involved that could be subject to IP. That's the part that matters.
              – employee-X
              2 hours ago












            • You mean my analogy where I specifically set the IT (so creative IP) aspect aside first in my answer @employee-X ? That analogy where I was just looking at just the transfer of skills learned in one job to another?
              – Rob Moir
              1 hour ago













            up vote
            10
            down vote










            up vote
            10
            down vote









            So there's no moral issue with using transferable skills from one job to do another. Taking the IT issue out of it for a moment, there's no issue with someone who fits boilers for the local gas utility using their knowledge of general plumbing to fix someone's bathroom taps "on the side" at the weekend.



            There might be an issue if you were re-using an algorithm or specific code from the main job to work the side job (I do understand from your post that you're not), but again there's no issue with you simply being good at solving a particular type of problem easily that's occurred on your side job because you've seen a lot of it recently at your main job.



            If there's enough similarities between the two jobs, you might have contractual issues, but that's a slightly different issue and it's been touched on by others.






            share|improve this answer














            So there's no moral issue with using transferable skills from one job to do another. Taking the IT issue out of it for a moment, there's no issue with someone who fits boilers for the local gas utility using their knowledge of general plumbing to fix someone's bathroom taps "on the side" at the weekend.



            There might be an issue if you were re-using an algorithm or specific code from the main job to work the side job (I do understand from your post that you're not), but again there's no issue with you simply being good at solving a particular type of problem easily that's occurred on your side job because you've seen a lot of it recently at your main job.



            If there's enough similarities between the two jobs, you might have contractual issues, but that's a slightly different issue and it's been touched on by others.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited 22 hours ago

























            answered 23 hours ago









            Rob Moir

            4,57011634




            4,57011634












            • If OP is the one that wrote the code at the day job, it seems probable that there will be some crossover in IP even if he writes it again without looking at the other code?
              – jkf
              11 hours ago










            • @jkf a fair point, and that's one for the lawyers. I know that I've learned enough from one project to take that experience to a new project without too much crossover and I'm taking in good faith the OP's apparent belief that while the solutions are similar, they've not taken code from one to the other.
              – Rob Moir
              11 hours ago










            • @RobMoir Your analogy with a "boiler-fixer" is misleading, because there's no creative work involved that could be subject to IP. That's the part that matters.
              – employee-X
              2 hours ago












            • You mean my analogy where I specifically set the IT (so creative IP) aspect aside first in my answer @employee-X ? That analogy where I was just looking at just the transfer of skills learned in one job to another?
              – Rob Moir
              1 hour ago


















            • If OP is the one that wrote the code at the day job, it seems probable that there will be some crossover in IP even if he writes it again without looking at the other code?
              – jkf
              11 hours ago










            • @jkf a fair point, and that's one for the lawyers. I know that I've learned enough from one project to take that experience to a new project without too much crossover and I'm taking in good faith the OP's apparent belief that while the solutions are similar, they've not taken code from one to the other.
              – Rob Moir
              11 hours ago










            • @RobMoir Your analogy with a "boiler-fixer" is misleading, because there's no creative work involved that could be subject to IP. That's the part that matters.
              – employee-X
              2 hours ago












            • You mean my analogy where I specifically set the IT (so creative IP) aspect aside first in my answer @employee-X ? That analogy where I was just looking at just the transfer of skills learned in one job to another?
              – Rob Moir
              1 hour ago
















            If OP is the one that wrote the code at the day job, it seems probable that there will be some crossover in IP even if he writes it again without looking at the other code?
            – jkf
            11 hours ago




            If OP is the one that wrote the code at the day job, it seems probable that there will be some crossover in IP even if he writes it again without looking at the other code?
            – jkf
            11 hours ago












            @jkf a fair point, and that's one for the lawyers. I know that I've learned enough from one project to take that experience to a new project without too much crossover and I'm taking in good faith the OP's apparent belief that while the solutions are similar, they've not taken code from one to the other.
            – Rob Moir
            11 hours ago




            @jkf a fair point, and that's one for the lawyers. I know that I've learned enough from one project to take that experience to a new project without too much crossover and I'm taking in good faith the OP's apparent belief that while the solutions are similar, they've not taken code from one to the other.
            – Rob Moir
            11 hours ago












            @RobMoir Your analogy with a "boiler-fixer" is misleading, because there's no creative work involved that could be subject to IP. That's the part that matters.
            – employee-X
            2 hours ago






            @RobMoir Your analogy with a "boiler-fixer" is misleading, because there's no creative work involved that could be subject to IP. That's the part that matters.
            – employee-X
            2 hours ago














            You mean my analogy where I specifically set the IT (so creative IP) aspect aside first in my answer @employee-X ? That analogy where I was just looking at just the transfer of skills learned in one job to another?
            – Rob Moir
            1 hour ago




            You mean my analogy where I specifically set the IT (so creative IP) aspect aside first in my answer @employee-X ? That analogy where I was just looking at just the transfer of skills learned in one job to another?
            – Rob Moir
            1 hour ago










            up vote
            6
            down vote













            I don't know where you are, but in the US the copyright on code by employees goes to the employer automatically. It's called "work-for-hire". It's very likely that, wherever you are, what you write for your employer belongs to your employer. (If you used open source software to write your contribution, this may not apply. Check with a lawyer. It's a lot cheaper than losing a lawsuit.)



            This means that the software you wrote for the clothing company needs to not be a derivative work of what you wrote for the perfume company, or it's copyright infringement. Your precautions sound inadequate. Despite not looking at the previous code, your software has the same structure and is generally very similar. People have been convicted of copyright infringement for similar things, even when they didn't just write the infringed-upon work.



            The software industry uses a "clean room" approach to copying, to avoid copyright problems. One team will look at the code with the functionality to be copied, and write a detailed spec. Another team will get the spec and write the new code. That way, only the ideas go from one room to the other, and there is no infringement.



            This is about the legal aspects. Unless your perfume company and clothing company are competitors or potential competitors, this looks ethical to me. Unfortunately, that won't help in court.



            My advice in this situation is to talk to a lawyer who specializes in copyright law. If you're in the US, the odds are that you can get a quick consultation for a reasonable fee through your local bar association. The perfume company might not care, or might not find out, or might not pursue a lawsuit for a variety of reasons. However, if they do, it could wind up being very expensive for you.






            share|improve this answer























            • This is probably the best answer, no idea why it is getting downvotes -- some of the highly voted answers are downright dangerous! There's a comment suggesting that OP base his "side gig" code on some preexisting open source rather than out of his head -- maybe working this into your answer would be an improvement?
              – jkf
              11 hours ago






            • 1




              +1, I like that this hits on the fact that it unfortunately doesn't really matter if OP is in the right or not, if the company decides to pursue, it could be problematic.
              – helrich
              11 hours ago










            • @jkf I think the "there is definitely no problem with this" answers are getting upvotes because most people have a strong moral sense that he has the right to use his experience anywhere - and the question is about ethics, after all. The question of what is legally enforceable is separate from the question of what is morally right.
              – Brilliand
              8 hours ago










            • @Brilliand IDK, is "render unto Caesar" a moral concept?
              – jkf
              8 hours ago










            • @jkf Personally I'd go with no, but that's a complicated topic that probably doesn't belong in this comment thread. (I can think of four different viable positions, off the top of my head.)
              – Brilliand
              7 hours ago















            up vote
            6
            down vote













            I don't know where you are, but in the US the copyright on code by employees goes to the employer automatically. It's called "work-for-hire". It's very likely that, wherever you are, what you write for your employer belongs to your employer. (If you used open source software to write your contribution, this may not apply. Check with a lawyer. It's a lot cheaper than losing a lawsuit.)



            This means that the software you wrote for the clothing company needs to not be a derivative work of what you wrote for the perfume company, or it's copyright infringement. Your precautions sound inadequate. Despite not looking at the previous code, your software has the same structure and is generally very similar. People have been convicted of copyright infringement for similar things, even when they didn't just write the infringed-upon work.



            The software industry uses a "clean room" approach to copying, to avoid copyright problems. One team will look at the code with the functionality to be copied, and write a detailed spec. Another team will get the spec and write the new code. That way, only the ideas go from one room to the other, and there is no infringement.



            This is about the legal aspects. Unless your perfume company and clothing company are competitors or potential competitors, this looks ethical to me. Unfortunately, that won't help in court.



            My advice in this situation is to talk to a lawyer who specializes in copyright law. If you're in the US, the odds are that you can get a quick consultation for a reasonable fee through your local bar association. The perfume company might not care, or might not find out, or might not pursue a lawsuit for a variety of reasons. However, if they do, it could wind up being very expensive for you.






            share|improve this answer























            • This is probably the best answer, no idea why it is getting downvotes -- some of the highly voted answers are downright dangerous! There's a comment suggesting that OP base his "side gig" code on some preexisting open source rather than out of his head -- maybe working this into your answer would be an improvement?
              – jkf
              11 hours ago






            • 1




              +1, I like that this hits on the fact that it unfortunately doesn't really matter if OP is in the right or not, if the company decides to pursue, it could be problematic.
              – helrich
              11 hours ago










            • @jkf I think the "there is definitely no problem with this" answers are getting upvotes because most people have a strong moral sense that he has the right to use his experience anywhere - and the question is about ethics, after all. The question of what is legally enforceable is separate from the question of what is morally right.
              – Brilliand
              8 hours ago










            • @Brilliand IDK, is "render unto Caesar" a moral concept?
              – jkf
              8 hours ago










            • @jkf Personally I'd go with no, but that's a complicated topic that probably doesn't belong in this comment thread. (I can think of four different viable positions, off the top of my head.)
              – Brilliand
              7 hours ago













            up vote
            6
            down vote










            up vote
            6
            down vote









            I don't know where you are, but in the US the copyright on code by employees goes to the employer automatically. It's called "work-for-hire". It's very likely that, wherever you are, what you write for your employer belongs to your employer. (If you used open source software to write your contribution, this may not apply. Check with a lawyer. It's a lot cheaper than losing a lawsuit.)



            This means that the software you wrote for the clothing company needs to not be a derivative work of what you wrote for the perfume company, or it's copyright infringement. Your precautions sound inadequate. Despite not looking at the previous code, your software has the same structure and is generally very similar. People have been convicted of copyright infringement for similar things, even when they didn't just write the infringed-upon work.



            The software industry uses a "clean room" approach to copying, to avoid copyright problems. One team will look at the code with the functionality to be copied, and write a detailed spec. Another team will get the spec and write the new code. That way, only the ideas go from one room to the other, and there is no infringement.



            This is about the legal aspects. Unless your perfume company and clothing company are competitors or potential competitors, this looks ethical to me. Unfortunately, that won't help in court.



            My advice in this situation is to talk to a lawyer who specializes in copyright law. If you're in the US, the odds are that you can get a quick consultation for a reasonable fee through your local bar association. The perfume company might not care, or might not find out, or might not pursue a lawsuit for a variety of reasons. However, if they do, it could wind up being very expensive for you.






            share|improve this answer














            I don't know where you are, but in the US the copyright on code by employees goes to the employer automatically. It's called "work-for-hire". It's very likely that, wherever you are, what you write for your employer belongs to your employer. (If you used open source software to write your contribution, this may not apply. Check with a lawyer. It's a lot cheaper than losing a lawsuit.)



            This means that the software you wrote for the clothing company needs to not be a derivative work of what you wrote for the perfume company, or it's copyright infringement. Your precautions sound inadequate. Despite not looking at the previous code, your software has the same structure and is generally very similar. People have been convicted of copyright infringement for similar things, even when they didn't just write the infringed-upon work.



            The software industry uses a "clean room" approach to copying, to avoid copyright problems. One team will look at the code with the functionality to be copied, and write a detailed spec. Another team will get the spec and write the new code. That way, only the ideas go from one room to the other, and there is no infringement.



            This is about the legal aspects. Unless your perfume company and clothing company are competitors or potential competitors, this looks ethical to me. Unfortunately, that won't help in court.



            My advice in this situation is to talk to a lawyer who specializes in copyright law. If you're in the US, the odds are that you can get a quick consultation for a reasonable fee through your local bar association. The perfume company might not care, or might not find out, or might not pursue a lawsuit for a variety of reasons. However, if they do, it could wind up being very expensive for you.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited 8 hours ago

























            answered 15 hours ago









            David Thornley

            1,36018




            1,36018












            • This is probably the best answer, no idea why it is getting downvotes -- some of the highly voted answers are downright dangerous! There's a comment suggesting that OP base his "side gig" code on some preexisting open source rather than out of his head -- maybe working this into your answer would be an improvement?
              – jkf
              11 hours ago






            • 1




              +1, I like that this hits on the fact that it unfortunately doesn't really matter if OP is in the right or not, if the company decides to pursue, it could be problematic.
              – helrich
              11 hours ago










            • @jkf I think the "there is definitely no problem with this" answers are getting upvotes because most people have a strong moral sense that he has the right to use his experience anywhere - and the question is about ethics, after all. The question of what is legally enforceable is separate from the question of what is morally right.
              – Brilliand
              8 hours ago










            • @Brilliand IDK, is "render unto Caesar" a moral concept?
              – jkf
              8 hours ago










            • @jkf Personally I'd go with no, but that's a complicated topic that probably doesn't belong in this comment thread. (I can think of four different viable positions, off the top of my head.)
              – Brilliand
              7 hours ago


















            • This is probably the best answer, no idea why it is getting downvotes -- some of the highly voted answers are downright dangerous! There's a comment suggesting that OP base his "side gig" code on some preexisting open source rather than out of his head -- maybe working this into your answer would be an improvement?
              – jkf
              11 hours ago






            • 1




              +1, I like that this hits on the fact that it unfortunately doesn't really matter if OP is in the right or not, if the company decides to pursue, it could be problematic.
              – helrich
              11 hours ago










            • @jkf I think the "there is definitely no problem with this" answers are getting upvotes because most people have a strong moral sense that he has the right to use his experience anywhere - and the question is about ethics, after all. The question of what is legally enforceable is separate from the question of what is morally right.
              – Brilliand
              8 hours ago










            • @Brilliand IDK, is "render unto Caesar" a moral concept?
              – jkf
              8 hours ago










            • @jkf Personally I'd go with no, but that's a complicated topic that probably doesn't belong in this comment thread. (I can think of four different viable positions, off the top of my head.)
              – Brilliand
              7 hours ago
















            This is probably the best answer, no idea why it is getting downvotes -- some of the highly voted answers are downright dangerous! There's a comment suggesting that OP base his "side gig" code on some preexisting open source rather than out of his head -- maybe working this into your answer would be an improvement?
            – jkf
            11 hours ago




            This is probably the best answer, no idea why it is getting downvotes -- some of the highly voted answers are downright dangerous! There's a comment suggesting that OP base his "side gig" code on some preexisting open source rather than out of his head -- maybe working this into your answer would be an improvement?
            – jkf
            11 hours ago




            1




            1




            +1, I like that this hits on the fact that it unfortunately doesn't really matter if OP is in the right or not, if the company decides to pursue, it could be problematic.
            – helrich
            11 hours ago




            +1, I like that this hits on the fact that it unfortunately doesn't really matter if OP is in the right or not, if the company decides to pursue, it could be problematic.
            – helrich
            11 hours ago












            @jkf I think the "there is definitely no problem with this" answers are getting upvotes because most people have a strong moral sense that he has the right to use his experience anywhere - and the question is about ethics, after all. The question of what is legally enforceable is separate from the question of what is morally right.
            – Brilliand
            8 hours ago




            @jkf I think the "there is definitely no problem with this" answers are getting upvotes because most people have a strong moral sense that he has the right to use his experience anywhere - and the question is about ethics, after all. The question of what is legally enforceable is separate from the question of what is morally right.
            – Brilliand
            8 hours ago












            @Brilliand IDK, is "render unto Caesar" a moral concept?
            – jkf
            8 hours ago




            @Brilliand IDK, is "render unto Caesar" a moral concept?
            – jkf
            8 hours ago












            @jkf Personally I'd go with no, but that's a complicated topic that probably doesn't belong in this comment thread. (I can think of four different viable positions, off the top of my head.)
            – Brilliand
            7 hours ago




            @jkf Personally I'd go with no, but that's a complicated topic that probably doesn't belong in this comment thread. (I can think of four different viable positions, off the top of my head.)
            – Brilliand
            7 hours ago










            up vote
            5
            down vote













            It may be far more complicated than other answers allude to.



            Depending on jurisdiction you may (IANAL, so consult your lawyer) fall foul of laws that prohibit employees from competing against the company they work for.



            Markedsføringloven §23 (in danish)




            Har den pågældende fået kendskab til eller fået rådighed over den erhvervsdrivendes erhvervshemmeligheder på retmæssig måde, må den pågældende ikke ubeføjet viderebringe eller benytte sådanne hemmeligheder. Forbuddet gælder i 3 år efter tjenesteforholdets, samarbejdsforholdets eller hvervets ophør.




            My rewrite in english (not a direct translation, written purely from an employee's view):




            If the employee has gained knowledge of or gained access to the trade secrets lawfully the emloyee may not without permission use or ditribute such trade secrets. The ban is in effect for 3 years after the employment has ended.




            So if any part of the algorithm or the way it is used can be construed as a trade secret the company may be able to sue for damages or at least have a solid defense against an unlawful termination suit.



            Laws like this may exist in many jurisdictions even if nothing is mentioned in the employment contract.






            share|improve this answer

























              up vote
              5
              down vote













              It may be far more complicated than other answers allude to.



              Depending on jurisdiction you may (IANAL, so consult your lawyer) fall foul of laws that prohibit employees from competing against the company they work for.



              Markedsføringloven §23 (in danish)




              Har den pågældende fået kendskab til eller fået rådighed over den erhvervsdrivendes erhvervshemmeligheder på retmæssig måde, må den pågældende ikke ubeføjet viderebringe eller benytte sådanne hemmeligheder. Forbuddet gælder i 3 år efter tjenesteforholdets, samarbejdsforholdets eller hvervets ophør.




              My rewrite in english (not a direct translation, written purely from an employee's view):




              If the employee has gained knowledge of or gained access to the trade secrets lawfully the emloyee may not without permission use or ditribute such trade secrets. The ban is in effect for 3 years after the employment has ended.




              So if any part of the algorithm or the way it is used can be construed as a trade secret the company may be able to sue for damages or at least have a solid defense against an unlawful termination suit.



              Laws like this may exist in many jurisdictions even if nothing is mentioned in the employment contract.






              share|improve this answer























                up vote
                5
                down vote










                up vote
                5
                down vote









                It may be far more complicated than other answers allude to.



                Depending on jurisdiction you may (IANAL, so consult your lawyer) fall foul of laws that prohibit employees from competing against the company they work for.



                Markedsføringloven §23 (in danish)




                Har den pågældende fået kendskab til eller fået rådighed over den erhvervsdrivendes erhvervshemmeligheder på retmæssig måde, må den pågældende ikke ubeføjet viderebringe eller benytte sådanne hemmeligheder. Forbuddet gælder i 3 år efter tjenesteforholdets, samarbejdsforholdets eller hvervets ophør.




                My rewrite in english (not a direct translation, written purely from an employee's view):




                If the employee has gained knowledge of or gained access to the trade secrets lawfully the emloyee may not without permission use or ditribute such trade secrets. The ban is in effect for 3 years after the employment has ended.




                So if any part of the algorithm or the way it is used can be construed as a trade secret the company may be able to sue for damages or at least have a solid defense against an unlawful termination suit.



                Laws like this may exist in many jurisdictions even if nothing is mentioned in the employment contract.






                share|improve this answer












                It may be far more complicated than other answers allude to.



                Depending on jurisdiction you may (IANAL, so consult your lawyer) fall foul of laws that prohibit employees from competing against the company they work for.



                Markedsføringloven §23 (in danish)




                Har den pågældende fået kendskab til eller fået rådighed over den erhvervsdrivendes erhvervshemmeligheder på retmæssig måde, må den pågældende ikke ubeføjet viderebringe eller benytte sådanne hemmeligheder. Forbuddet gælder i 3 år efter tjenesteforholdets, samarbejdsforholdets eller hvervets ophør.




                My rewrite in english (not a direct translation, written purely from an employee's view):




                If the employee has gained knowledge of or gained access to the trade secrets lawfully the emloyee may not without permission use or ditribute such trade secrets. The ban is in effect for 3 years after the employment has ended.




                So if any part of the algorithm or the way it is used can be construed as a trade secret the company may be able to sue for damages or at least have a solid defense against an unlawful termination suit.



                Laws like this may exist in many jurisdictions even if nothing is mentioned in the employment contract.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 19 hours ago









                Bent

                81957




                81957






















                    up vote
                    1
                    down vote













                    It sounds like you've covered your bases with regards to the ethical and legal stuff. Your knowledge as a programmer of how to make recommendation systems isn't something your main gig can 'own'. As you didn't use the code from your main employer's codebase, you're pretty much in the clear.






                    share|improve this answer

















                    • 2




                      This is something I've always wondered about. If he rewrote the whole thing almost identically from memory - how could he prove he didn't just reuse the codebase?
                      – Matadeleo
                      20 hours ago










                    • @Matadeleo there is a big difference with "from memory - i remember the classes i wrote exactly and typed it out again the same" and "from memory - i remember the parts of code i needed by rewrote it". The second will for any system thats even slightly complicated result in a different set of code, probably a better set too as it will have everything he learnt from the first one in.
                      – J.Doe
                      18 hours ago






                    • 1




                      @Matadeleo If you copy code completely or partially, that is considered a copy and derivative work. The actual technique you use doesn't matter. You could have used the "copy file" function of your computer, you could have used "copy/paste", or you could have memorized it and reproduce it elsewhere at a later time. Reproduction is reproduction all the same.
                      – Brandin
                      13 hours ago

















                    up vote
                    1
                    down vote













                    It sounds like you've covered your bases with regards to the ethical and legal stuff. Your knowledge as a programmer of how to make recommendation systems isn't something your main gig can 'own'. As you didn't use the code from your main employer's codebase, you're pretty much in the clear.






                    share|improve this answer

















                    • 2




                      This is something I've always wondered about. If he rewrote the whole thing almost identically from memory - how could he prove he didn't just reuse the codebase?
                      – Matadeleo
                      20 hours ago










                    • @Matadeleo there is a big difference with "from memory - i remember the classes i wrote exactly and typed it out again the same" and "from memory - i remember the parts of code i needed by rewrote it". The second will for any system thats even slightly complicated result in a different set of code, probably a better set too as it will have everything he learnt from the first one in.
                      – J.Doe
                      18 hours ago






                    • 1




                      @Matadeleo If you copy code completely or partially, that is considered a copy and derivative work. The actual technique you use doesn't matter. You could have used the "copy file" function of your computer, you could have used "copy/paste", or you could have memorized it and reproduce it elsewhere at a later time. Reproduction is reproduction all the same.
                      – Brandin
                      13 hours ago















                    up vote
                    1
                    down vote










                    up vote
                    1
                    down vote









                    It sounds like you've covered your bases with regards to the ethical and legal stuff. Your knowledge as a programmer of how to make recommendation systems isn't something your main gig can 'own'. As you didn't use the code from your main employer's codebase, you're pretty much in the clear.






                    share|improve this answer












                    It sounds like you've covered your bases with regards to the ethical and legal stuff. Your knowledge as a programmer of how to make recommendation systems isn't something your main gig can 'own'. As you didn't use the code from your main employer's codebase, you're pretty much in the clear.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered 21 hours ago









                    520

                    856211




                    856211








                    • 2




                      This is something I've always wondered about. If he rewrote the whole thing almost identically from memory - how could he prove he didn't just reuse the codebase?
                      – Matadeleo
                      20 hours ago










                    • @Matadeleo there is a big difference with "from memory - i remember the classes i wrote exactly and typed it out again the same" and "from memory - i remember the parts of code i needed by rewrote it". The second will for any system thats even slightly complicated result in a different set of code, probably a better set too as it will have everything he learnt from the first one in.
                      – J.Doe
                      18 hours ago






                    • 1




                      @Matadeleo If you copy code completely or partially, that is considered a copy and derivative work. The actual technique you use doesn't matter. You could have used the "copy file" function of your computer, you could have used "copy/paste", or you could have memorized it and reproduce it elsewhere at a later time. Reproduction is reproduction all the same.
                      – Brandin
                      13 hours ago
















                    • 2




                      This is something I've always wondered about. If he rewrote the whole thing almost identically from memory - how could he prove he didn't just reuse the codebase?
                      – Matadeleo
                      20 hours ago










                    • @Matadeleo there is a big difference with "from memory - i remember the classes i wrote exactly and typed it out again the same" and "from memory - i remember the parts of code i needed by rewrote it". The second will for any system thats even slightly complicated result in a different set of code, probably a better set too as it will have everything he learnt from the first one in.
                      – J.Doe
                      18 hours ago






                    • 1




                      @Matadeleo If you copy code completely or partially, that is considered a copy and derivative work. The actual technique you use doesn't matter. You could have used the "copy file" function of your computer, you could have used "copy/paste", or you could have memorized it and reproduce it elsewhere at a later time. Reproduction is reproduction all the same.
                      – Brandin
                      13 hours ago










                    2




                    2




                    This is something I've always wondered about. If he rewrote the whole thing almost identically from memory - how could he prove he didn't just reuse the codebase?
                    – Matadeleo
                    20 hours ago




                    This is something I've always wondered about. If he rewrote the whole thing almost identically from memory - how could he prove he didn't just reuse the codebase?
                    – Matadeleo
                    20 hours ago












                    @Matadeleo there is a big difference with "from memory - i remember the classes i wrote exactly and typed it out again the same" and "from memory - i remember the parts of code i needed by rewrote it". The second will for any system thats even slightly complicated result in a different set of code, probably a better set too as it will have everything he learnt from the first one in.
                    – J.Doe
                    18 hours ago




                    @Matadeleo there is a big difference with "from memory - i remember the classes i wrote exactly and typed it out again the same" and "from memory - i remember the parts of code i needed by rewrote it". The second will for any system thats even slightly complicated result in a different set of code, probably a better set too as it will have everything he learnt from the first one in.
                    – J.Doe
                    18 hours ago




                    1




                    1




                    @Matadeleo If you copy code completely or partially, that is considered a copy and derivative work. The actual technique you use doesn't matter. You could have used the "copy file" function of your computer, you could have used "copy/paste", or you could have memorized it and reproduce it elsewhere at a later time. Reproduction is reproduction all the same.
                    – Brandin
                    13 hours ago






                    @Matadeleo If you copy code completely or partially, that is considered a copy and derivative work. The actual technique you use doesn't matter. You could have used the "copy file" function of your computer, you could have used "copy/paste", or you could have memorized it and reproduce it elsewhere at a later time. Reproduction is reproduction all the same.
                    – Brandin
                    13 hours ago












                    up vote
                    0
                    down vote














                    Did I do anything legally or ethically wrong?




                    Transfer of knowledge, as long it doesn't include trade secrets or actual IP, is legally OK.



                    Use of your time in side gigs you may wish to double-check:




                    • Eight hours a week is not much - are you really containing your efforts into that time? How do support issues with your "side gig" work get resolved without impacting time on the main job?


                    • Are you burning yourself out and reducing your efficiency at the other job? This is not necessarily an ethical consideration, because an employer should not have control over what you do in your spare time. However, if you get no rest at weekends, or too many late nights, then your performance could well slip at the larger job.



                    An employer might still fire you with cause if your performance slips, or you juggle your time too much for their comfort - it doesn't matter whether it is because you spend your time partying or on a side gig. Likewise your side gig employer might appreciate the cheap product you have made for them, but might become frustrated at low level of support you are able to provide.



                    Check your contracts for clauses that cover conflicts of interest in general. It would be ethically and maybe also legally wrong to be moonlighting when you have signed a written agreement to not do so. Clauses in employment contracts requiring your employer to effectively be your sole employer are relatively common, due to concerns on performance and on leaks of IP (even if you fully intend not to leak IP, your employer only has your say-so that you are not, they cannot audit the work for the other employer).



                    Also, do bear in mind, that although you feel within your rights to act in a certain way, and it could even be legally backed up, your employer may decide otherwise. Perhaps they are still concerned about possible loss of their IP, and would fire you or even take legal action against you. Even if you would win such a case, you may not wish to go through the process or have it affect your main career, for the sake of whatever money you can make on a 20% part time role.



                    Bad scenarios could be more likely if you have kept the side gig secret from your main employer. You can do a lot towards clearing whether your employer thinks this idea is ethical and legal by asking them about it. You will also get your chance to frame the possible conflict of interest as something that you will handle professionally, before it gets discovered any other way.



                    It is probably more important to you that your main employer has a positive view of the ethical and legal status of your side gig, than the Q&A on this site.






                    share|improve this answer

























                      up vote
                      0
                      down vote














                      Did I do anything legally or ethically wrong?




                      Transfer of knowledge, as long it doesn't include trade secrets or actual IP, is legally OK.



                      Use of your time in side gigs you may wish to double-check:




                      • Eight hours a week is not much - are you really containing your efforts into that time? How do support issues with your "side gig" work get resolved without impacting time on the main job?


                      • Are you burning yourself out and reducing your efficiency at the other job? This is not necessarily an ethical consideration, because an employer should not have control over what you do in your spare time. However, if you get no rest at weekends, or too many late nights, then your performance could well slip at the larger job.



                      An employer might still fire you with cause if your performance slips, or you juggle your time too much for their comfort - it doesn't matter whether it is because you spend your time partying or on a side gig. Likewise your side gig employer might appreciate the cheap product you have made for them, but might become frustrated at low level of support you are able to provide.



                      Check your contracts for clauses that cover conflicts of interest in general. It would be ethically and maybe also legally wrong to be moonlighting when you have signed a written agreement to not do so. Clauses in employment contracts requiring your employer to effectively be your sole employer are relatively common, due to concerns on performance and on leaks of IP (even if you fully intend not to leak IP, your employer only has your say-so that you are not, they cannot audit the work for the other employer).



                      Also, do bear in mind, that although you feel within your rights to act in a certain way, and it could even be legally backed up, your employer may decide otherwise. Perhaps they are still concerned about possible loss of their IP, and would fire you or even take legal action against you. Even if you would win such a case, you may not wish to go through the process or have it affect your main career, for the sake of whatever money you can make on a 20% part time role.



                      Bad scenarios could be more likely if you have kept the side gig secret from your main employer. You can do a lot towards clearing whether your employer thinks this idea is ethical and legal by asking them about it. You will also get your chance to frame the possible conflict of interest as something that you will handle professionally, before it gets discovered any other way.



                      It is probably more important to you that your main employer has a positive view of the ethical and legal status of your side gig, than the Q&A on this site.






                      share|improve this answer























                        up vote
                        0
                        down vote










                        up vote
                        0
                        down vote










                        Did I do anything legally or ethically wrong?




                        Transfer of knowledge, as long it doesn't include trade secrets or actual IP, is legally OK.



                        Use of your time in side gigs you may wish to double-check:




                        • Eight hours a week is not much - are you really containing your efforts into that time? How do support issues with your "side gig" work get resolved without impacting time on the main job?


                        • Are you burning yourself out and reducing your efficiency at the other job? This is not necessarily an ethical consideration, because an employer should not have control over what you do in your spare time. However, if you get no rest at weekends, or too many late nights, then your performance could well slip at the larger job.



                        An employer might still fire you with cause if your performance slips, or you juggle your time too much for their comfort - it doesn't matter whether it is because you spend your time partying or on a side gig. Likewise your side gig employer might appreciate the cheap product you have made for them, but might become frustrated at low level of support you are able to provide.



                        Check your contracts for clauses that cover conflicts of interest in general. It would be ethically and maybe also legally wrong to be moonlighting when you have signed a written agreement to not do so. Clauses in employment contracts requiring your employer to effectively be your sole employer are relatively common, due to concerns on performance and on leaks of IP (even if you fully intend not to leak IP, your employer only has your say-so that you are not, they cannot audit the work for the other employer).



                        Also, do bear in mind, that although you feel within your rights to act in a certain way, and it could even be legally backed up, your employer may decide otherwise. Perhaps they are still concerned about possible loss of their IP, and would fire you or even take legal action against you. Even if you would win such a case, you may not wish to go through the process or have it affect your main career, for the sake of whatever money you can make on a 20% part time role.



                        Bad scenarios could be more likely if you have kept the side gig secret from your main employer. You can do a lot towards clearing whether your employer thinks this idea is ethical and legal by asking them about it. You will also get your chance to frame the possible conflict of interest as something that you will handle professionally, before it gets discovered any other way.



                        It is probably more important to you that your main employer has a positive view of the ethical and legal status of your side gig, than the Q&A on this site.






                        share|improve this answer













                        Did I do anything legally or ethically wrong?




                        Transfer of knowledge, as long it doesn't include trade secrets or actual IP, is legally OK.



                        Use of your time in side gigs you may wish to double-check:




                        • Eight hours a week is not much - are you really containing your efforts into that time? How do support issues with your "side gig" work get resolved without impacting time on the main job?


                        • Are you burning yourself out and reducing your efficiency at the other job? This is not necessarily an ethical consideration, because an employer should not have control over what you do in your spare time. However, if you get no rest at weekends, or too many late nights, then your performance could well slip at the larger job.



                        An employer might still fire you with cause if your performance slips, or you juggle your time too much for their comfort - it doesn't matter whether it is because you spend your time partying or on a side gig. Likewise your side gig employer might appreciate the cheap product you have made for them, but might become frustrated at low level of support you are able to provide.



                        Check your contracts for clauses that cover conflicts of interest in general. It would be ethically and maybe also legally wrong to be moonlighting when you have signed a written agreement to not do so. Clauses in employment contracts requiring your employer to effectively be your sole employer are relatively common, due to concerns on performance and on leaks of IP (even if you fully intend not to leak IP, your employer only has your say-so that you are not, they cannot audit the work for the other employer).



                        Also, do bear in mind, that although you feel within your rights to act in a certain way, and it could even be legally backed up, your employer may decide otherwise. Perhaps they are still concerned about possible loss of their IP, and would fire you or even take legal action against you. Even if you would win such a case, you may not wish to go through the process or have it affect your main career, for the sake of whatever money you can make on a 20% part time role.



                        Bad scenarios could be more likely if you have kept the side gig secret from your main employer. You can do a lot towards clearing whether your employer thinks this idea is ethical and legal by asking them about it. You will also get your chance to frame the possible conflict of interest as something that you will handle professionally, before it gets discovered any other way.



                        It is probably more important to you that your main employer has a positive view of the ethical and legal status of your side gig, than the Q&A on this site.







                        share|improve this answer












                        share|improve this answer



                        share|improve this answer










                        answered 19 hours ago









                        Neil Slater

                        1,4711913




                        1,4711913






















                            up vote
                            0
                            down vote













                            I agree with all the above answers. But but I will add two more considerations: antitrust laws and conflict of interest.



                            Antitrust. If job A and job B are competitors, and if your country has antitrust laws, then you should evaluate if the knowledge transfer is related to prices, market strategy, etc. Ask if the knowledge transfer benefit your employer(s) at the expense of customers. Be certain you aren't breaking antitrust laws.



                            Conflict of interest. Decide if the knowledge transfer harms one employer. For example, if the knowledge that you are transferring is a customer list, and you want to redirect business from one company to another, especially if you own the benefited company, that seems unethical.






                            share|improve this answer








                            New contributor




                            RJH is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.






















                              up vote
                              0
                              down vote













                              I agree with all the above answers. But but I will add two more considerations: antitrust laws and conflict of interest.



                              Antitrust. If job A and job B are competitors, and if your country has antitrust laws, then you should evaluate if the knowledge transfer is related to prices, market strategy, etc. Ask if the knowledge transfer benefit your employer(s) at the expense of customers. Be certain you aren't breaking antitrust laws.



                              Conflict of interest. Decide if the knowledge transfer harms one employer. For example, if the knowledge that you are transferring is a customer list, and you want to redirect business from one company to another, especially if you own the benefited company, that seems unethical.






                              share|improve this answer








                              New contributor




                              RJH is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                              Check out our Code of Conduct.




















                                up vote
                                0
                                down vote










                                up vote
                                0
                                down vote









                                I agree with all the above answers. But but I will add two more considerations: antitrust laws and conflict of interest.



                                Antitrust. If job A and job B are competitors, and if your country has antitrust laws, then you should evaluate if the knowledge transfer is related to prices, market strategy, etc. Ask if the knowledge transfer benefit your employer(s) at the expense of customers. Be certain you aren't breaking antitrust laws.



                                Conflict of interest. Decide if the knowledge transfer harms one employer. For example, if the knowledge that you are transferring is a customer list, and you want to redirect business from one company to another, especially if you own the benefited company, that seems unethical.






                                share|improve this answer








                                New contributor




                                RJH is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                Check out our Code of Conduct.









                                I agree with all the above answers. But but I will add two more considerations: antitrust laws and conflict of interest.



                                Antitrust. If job A and job B are competitors, and if your country has antitrust laws, then you should evaluate if the knowledge transfer is related to prices, market strategy, etc. Ask if the knowledge transfer benefit your employer(s) at the expense of customers. Be certain you aren't breaking antitrust laws.



                                Conflict of interest. Decide if the knowledge transfer harms one employer. For example, if the knowledge that you are transferring is a customer list, and you want to redirect business from one company to another, especially if you own the benefited company, that seems unethical.







                                share|improve this answer








                                New contributor




                                RJH is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                Check out our Code of Conduct.









                                share|improve this answer



                                share|improve this answer






                                New contributor




                                RJH is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                Check out our Code of Conduct.









                                answered 14 hours ago









                                RJH

                                1




                                1




                                New contributor




                                RJH is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                Check out our Code of Conduct.





                                New contributor





                                RJH is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                Check out our Code of Conduct.






                                RJH is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                Check out our Code of Conduct.






















                                    up vote
                                    0
                                    down vote













                                    Besides the legal considerations - which some of the more skeptical answers have already touched on - I also feel this approach is a bit unethical. Having been a consultant for most of the past twenty years I would not code something similar to what I am doing for another client. The forty-ish hours per week company is apparently unaware of -and likely an unwilling party to - what amounts to subsidizing the side work.






                                    share|improve this answer

























                                      up vote
                                      0
                                      down vote













                                      Besides the legal considerations - which some of the more skeptical answers have already touched on - I also feel this approach is a bit unethical. Having been a consultant for most of the past twenty years I would not code something similar to what I am doing for another client. The forty-ish hours per week company is apparently unaware of -and likely an unwilling party to - what amounts to subsidizing the side work.






                                      share|improve this answer























                                        up vote
                                        0
                                        down vote










                                        up vote
                                        0
                                        down vote









                                        Besides the legal considerations - which some of the more skeptical answers have already touched on - I also feel this approach is a bit unethical. Having been a consultant for most of the past twenty years I would not code something similar to what I am doing for another client. The forty-ish hours per week company is apparently unaware of -and likely an unwilling party to - what amounts to subsidizing the side work.






                                        share|improve this answer












                                        Besides the legal considerations - which some of the more skeptical answers have already touched on - I also feel this approach is a bit unethical. Having been a consultant for most of the past twenty years I would not code something similar to what I am doing for another client. The forty-ish hours per week company is apparently unaware of -and likely an unwilling party to - what amounts to subsidizing the side work.







                                        share|improve this answer












                                        share|improve this answer



                                        share|improve this answer










                                        answered 10 hours ago









                                        javadba

                                        1506




                                        1506






















                                            up vote
                                            0
                                            down vote













                                            Check your contract of employment.



                                            I know mine states clearly that I may not perform work for hire outside my main job. It also states that I may not engage in activities that are potentially directly or indirectly in competition with those of my employer, which would include building or maintaining a system similar to what I work on professionally for an open source project or charitable work for example.



                                            Under either of those clauses, what you want to do would be a breach of contract with your employer, not just a ground for instant termination but also for having to pay quite a lot of money in damages to your employer.



                                            Mind that some contracts go way beyond what's legally acceptable in such clauses, and a court might then decide to deem the clause inapplicable, but that's for lawyers and judges to decide, not for you.
                                            For example I once was offered a contract that stated that I would not be allowed to perform my profession for 10 years after leaving their employ through any means (so even if they laid me off rather than me quitting). After consultation with experts in applicable law and getting letters from them, they were forced to remove that clause.



                                            So check your contract carefully, it's almost certainly not something you're allowed to do for a commercial entity, and possibly you won't be allowed to do it for a non-profit or other charitable work either.






                                            share|improve this answer

























                                              up vote
                                              0
                                              down vote













                                              Check your contract of employment.



                                              I know mine states clearly that I may not perform work for hire outside my main job. It also states that I may not engage in activities that are potentially directly or indirectly in competition with those of my employer, which would include building or maintaining a system similar to what I work on professionally for an open source project or charitable work for example.



                                              Under either of those clauses, what you want to do would be a breach of contract with your employer, not just a ground for instant termination but also for having to pay quite a lot of money in damages to your employer.



                                              Mind that some contracts go way beyond what's legally acceptable in such clauses, and a court might then decide to deem the clause inapplicable, but that's for lawyers and judges to decide, not for you.
                                              For example I once was offered a contract that stated that I would not be allowed to perform my profession for 10 years after leaving their employ through any means (so even if they laid me off rather than me quitting). After consultation with experts in applicable law and getting letters from them, they were forced to remove that clause.



                                              So check your contract carefully, it's almost certainly not something you're allowed to do for a commercial entity, and possibly you won't be allowed to do it for a non-profit or other charitable work either.






                                              share|improve this answer























                                                up vote
                                                0
                                                down vote










                                                up vote
                                                0
                                                down vote









                                                Check your contract of employment.



                                                I know mine states clearly that I may not perform work for hire outside my main job. It also states that I may not engage in activities that are potentially directly or indirectly in competition with those of my employer, which would include building or maintaining a system similar to what I work on professionally for an open source project or charitable work for example.



                                                Under either of those clauses, what you want to do would be a breach of contract with your employer, not just a ground for instant termination but also for having to pay quite a lot of money in damages to your employer.



                                                Mind that some contracts go way beyond what's legally acceptable in such clauses, and a court might then decide to deem the clause inapplicable, but that's for lawyers and judges to decide, not for you.
                                                For example I once was offered a contract that stated that I would not be allowed to perform my profession for 10 years after leaving their employ through any means (so even if they laid me off rather than me quitting). After consultation with experts in applicable law and getting letters from them, they were forced to remove that clause.



                                                So check your contract carefully, it's almost certainly not something you're allowed to do for a commercial entity, and possibly you won't be allowed to do it for a non-profit or other charitable work either.






                                                share|improve this answer












                                                Check your contract of employment.



                                                I know mine states clearly that I may not perform work for hire outside my main job. It also states that I may not engage in activities that are potentially directly or indirectly in competition with those of my employer, which would include building or maintaining a system similar to what I work on professionally for an open source project or charitable work for example.



                                                Under either of those clauses, what you want to do would be a breach of contract with your employer, not just a ground for instant termination but also for having to pay quite a lot of money in damages to your employer.



                                                Mind that some contracts go way beyond what's legally acceptable in such clauses, and a court might then decide to deem the clause inapplicable, but that's for lawyers and judges to decide, not for you.
                                                For example I once was offered a contract that stated that I would not be allowed to perform my profession for 10 years after leaving their employ through any means (so even if they laid me off rather than me quitting). After consultation with experts in applicable law and getting letters from them, they were forced to remove that clause.



                                                So check your contract carefully, it's almost certainly not something you're allowed to do for a commercial entity, and possibly you won't be allowed to do it for a non-profit or other charitable work either.







                                                share|improve this answer












                                                share|improve this answer



                                                share|improve this answer










                                                answered 1 hour ago









                                                jwenting

                                                1,39667




                                                1,39667






















                                                    up vote
                                                    -3
                                                    down vote













                                                    Yes of course! It is your knowledge! Doesn't matter where you got this from!






                                                    share|improve this answer











                                                    We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.










                                                    • 6




                                                      without an explanation, this answer may become useless in case if someone else posts an opposite opinion. For example, if someone posts a claim like "No of course! It is not just your knowledge! It matters where you got this from!", how would this answer help reader to pick of two opposing opinions? Consider editing it into a better shape, to meet How to Answer guidelines
                                                      – gnat
                                                      19 hours ago















                                                    up vote
                                                    -3
                                                    down vote













                                                    Yes of course! It is your knowledge! Doesn't matter where you got this from!






                                                    share|improve this answer











                                                    We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.










                                                    • 6




                                                      without an explanation, this answer may become useless in case if someone else posts an opposite opinion. For example, if someone posts a claim like "No of course! It is not just your knowledge! It matters where you got this from!", how would this answer help reader to pick of two opposing opinions? Consider editing it into a better shape, to meet How to Answer guidelines
                                                      – gnat
                                                      19 hours ago













                                                    up vote
                                                    -3
                                                    down vote










                                                    up vote
                                                    -3
                                                    down vote









                                                    Yes of course! It is your knowledge! Doesn't matter where you got this from!






                                                    share|improve this answer












                                                    Yes of course! It is your knowledge! Doesn't matter where you got this from!







                                                    share|improve this answer












                                                    share|improve this answer



                                                    share|improve this answer










                                                    answered 20 hours ago









                                                    user8823818

                                                    25




                                                    25



                                                    We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.




                                                    We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.









                                                    • 6




                                                      without an explanation, this answer may become useless in case if someone else posts an opposite opinion. For example, if someone posts a claim like "No of course! It is not just your knowledge! It matters where you got this from!", how would this answer help reader to pick of two opposing opinions? Consider editing it into a better shape, to meet How to Answer guidelines
                                                      – gnat
                                                      19 hours ago














                                                    • 6




                                                      without an explanation, this answer may become useless in case if someone else posts an opposite opinion. For example, if someone posts a claim like "No of course! It is not just your knowledge! It matters where you got this from!", how would this answer help reader to pick of two opposing opinions? Consider editing it into a better shape, to meet How to Answer guidelines
                                                      – gnat
                                                      19 hours ago








                                                    6




                                                    6




                                                    without an explanation, this answer may become useless in case if someone else posts an opposite opinion. For example, if someone posts a claim like "No of course! It is not just your knowledge! It matters where you got this from!", how would this answer help reader to pick of two opposing opinions? Consider editing it into a better shape, to meet How to Answer guidelines
                                                    – gnat
                                                    19 hours ago




                                                    without an explanation, this answer may become useless in case if someone else posts an opposite opinion. For example, if someone posts a claim like "No of course! It is not just your knowledge! It matters where you got this from!", how would this answer help reader to pick of two opposing opinions? Consider editing it into a better shape, to meet How to Answer guidelines
                                                    – gnat
                                                    19 hours ago





                                                    protected by Jane S 9 hours ago



                                                    Thank you for your interest in this question.
                                                    Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



                                                    Would you like to answer one of these unanswered questions instead?



                                                    Popular posts from this blog

                                                    Plaza Victoria

                                                    In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

                                                    How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...