> I don't do that shit for everything I do. But only for the ideations that I know are great and think I am going to use later.
"I thought I might need it later" does not constitute a legal defense if your employer comes after you for IP theft.
IANAL, but I can't see what foundation your strategy rests on. That the code is generic does not change the fact that it was written by you to solve a problem that your employer had. This pretty unambiguously places it within the range of what your employer can claim as theirs, no matter how applicable it might be to other use cases.
It'd be one thing if you had code that you'd written a few months back that turned out to be useful solving today's problem. But what you're describing is that your employer asks you to do something and then you go and open-source part or all of the solution without consulting them.
If you are as indispensable as you say you are, the actually bulletproof approach to getting this code open sourced legally would be to use your influence to persuade your employer to officially open-source that code.
I’d like to differ. The foundation of my strategy is that I shouldn’t be obligated to run every code I write with my company legal. On the contrary, the simple reason that my code is generic absolves me from having to consult my company for anything I decide to write in my own time on my own property. I'm never going to say “I 'took' it because I thought I might use it later”. That clearly implies theft. My reasoning is “I wrote it first in the open source and then I thought it might be useful in the company that why I ‘reused’ it here.”
I don't think you got the premise. Like I said earlier, my motive is not to steal company IP but to keep my stuff my own so that I can use that whenever and wherever I want. That's what I tried to demonstrate with the examples above and I purposely provided multiple use cases. I am genuinely curious, if you can go through the example scenarios I cited and tell me which one of them the employer can claim as theirs, considering it is neither into healthcare not aerospace.
Nevertheless, I think we have our separate approaches and I think we can agree to disagree.
> Nevertheless, I think we have our separate approaches and I think we can agree to disagree.
That's not how the law works. You're either right that your solution works or you're wrong. I'm not a lawyer, but I'm warning you that you really need to talk to an attorney before assuming that this practice will keep you safe.
By that, I just meant that you're not addressing my points and just arguing aimlessly with cherry-picked snippets from my comments so I just wanted to kill this discussion in a civilised manner.
> That's not how the law works.
Oh, this is how the law works. Unlike programming, there's never a hard right or wrong.
> you really need to talk to an attorney
that's not what you said earlier. your idea is that I should run it through my company's legal for everything I do. Let me enlighten you what will happen next. They will simply summarily reject my request and put me on a watchlist. Consult your company legal only if you need to keep written evidence for your defense. For any advise, always consult an attorney from outside.
Anyway, after getting all feedback from other comments in this thread, I did decide to run this with a lawyer and after a good and pretty long discussion and going through all my stuff, he is pretty satisfied with my setup. In fact, some of the things I did are an overkill! Wouldn't say it would work for you too as the laws of the land from where you come from might be wildly different.
"I thought I might need it later" does not constitute a legal defense if your employer comes after you for IP theft.
IANAL, but I can't see what foundation your strategy rests on. That the code is generic does not change the fact that it was written by you to solve a problem that your employer had. This pretty unambiguously places it within the range of what your employer can claim as theirs, no matter how applicable it might be to other use cases.
It'd be one thing if you had code that you'd written a few months back that turned out to be useful solving today's problem. But what you're describing is that your employer asks you to do something and then you go and open-source part or all of the solution without consulting them.
If you are as indispensable as you say you are, the actually bulletproof approach to getting this code open sourced legally would be to use your influence to persuade your employer to officially open-source that code.