A) Extreme case:
[deleted]
B) Normal Case:
You keep a copy of your work and designs so you can reuse the ideas and perhaps even snippets of code. It is also a record of your work. This is for 'normal' work that took lots of thought and effort, not patented stuff.
Qs: How many of you regularly do B? Please also comment on A
A) is illegal. You have no ownership of ANY code or IP that you work on at the company that employs you. That's what they're paying you for, after all.
B) is also illegal. Unless the company in question has open sourced their code and allows anyone to use it under some kind of a BSD-like license, you have absolutely no right to use that code or IP.
Not only are both of these cases illegal, they're also highly unethical. Also, if you're forming a company around someone else's IP, you're gonna crash and burn.
When I worked as a contractor, I would use my own libraries to save me some time but before I used them, I notified the management that I was using them and told them that I own the code and that I give them full right to use it without any licensing fees and I also told them I would use them on my other contracting jobs. They always accepted these stipulations an I've never had any problems. They loved the fact that I was not wasting my time and their money re-implementing the wheel and that I was solving their problems in record time. The key is to be open and put it all on the table before you start working.
Also, after I'd finish working on a project and if I was using my own computer, I'd wipe my computer clean of all of their code. I would do that on the last day of my job and I ALWAYS made sure that someone from the management was there to witness it. Sure, that might be going overboard but trust me... it's worth it. It shows them that you care about these sorts of things and it also makes sure that they won't have a strong case if they ever decide to sue you down the road because you end up inventing something amazing that's in their marketspace or you end up working for competition.
http://www.developerdotstar.com/mag/articles/daniels_softwar...
(Why is it that when it comes to ethics, what was once clear cut is now "fuzzy"?)
For example, once in a while I will come across a problem that I know I have solved before, so I will refer to code I had previously written for someone else to remind myself of how I first solved it. I don't see any ethical dilemma in this.
Of course, no one owns what's in your brain, but that's all you own. Move on.
but the actual idea? well where would you guys classify this? i think the actual idea unless protected by a patent is open.. also a lot of companies put a no-compete clause forbidding working for another company in the same domain ... (even though in some countries thats against the law)
I managed to open-source some parts of my code (basically some generic libraries) under a very liberal license and to reuse it in other companies. Not without agreement with the employers, of course.