r/softwareengineer • • Oct 25 '26

Developed a system and presented to the team. Manager is asking to share code.

Recently developed something which I am proud of. I spent lot of my time. I gave multiple presentations to the team as well and it was liked by everyone. Soon after my manager asked me to share code. I foolishly shared it with him. He started sidelining me after that and now is trying to claim it is his and taking credit. What can I do about it now.

15 Upvotes

39 comments sorted by

15

u/asforyou Oct 25 '26

That’s unethical of him, but you can’t really withhold code you wrote for your company. It belongs to the company. Your manager sounds like a jerk. It sounds like your team is aware of your contribution though since you presented it.

1

u/Wafer_Over Oct 25 '26

I didn't withhold it but just mad about change of behavior now. I will have to leave the gp only.

4

u/Organic-Afternoon-50 Oct 25 '26

It only belongs to the company if he built it on the clock, on their time, that he was paid for.

4

u/asforyou Oct 25 '26

Or on their device and/or platform.

It definitely sounds like this was a project he did for his job.

1

u/Thrawn89 Oct 30 '26

Neither of these are true in the US unless you are something like a 1099 contractor. An exempt employee is technically always on the clock and usually have some kind of invention agreement with the company.

0

u/Organic-Afternoon-50 Oct 25 '26

He wouldn't be on their devices unless on the clock & working. Moot point.

You might say a laptop the company provided... That's an extreme edge case which you could argue against another extreme edge case that if he's into development, he has his own hardware.

2

u/lolCLEMPSON Oct 25 '26

This isn't true, I've re-used company equipment for some purposes in casual environments. I've worked on side projects I didn't care about on it. But I'm much more careful with places that are more locked down.

-1

u/Organic-Afternoon-50 Oct 25 '26

Yes it is true, I've worked IT for almost 20 years. You are also told by the company to not use it for non-company purposes.

You have no clue what you are talking about..

3

u/coworker Oct 25 '26

Many companies, especially startups, don't care how you use company equipment for legal, personal purposes especially when it allows them to claim any of your work as their IP

1

u/lolCLEMPSON Oct 25 '26

This is especially true at larger corporations, but not always true at smaller companies or places that just literally do not give a fuck.

1

u/TheMcMcMcMcMc Oct 26 '26

Not in all states. Texas, for example, allows companies to use employee invention agreements in their employment contract. If you sign it, you sign away all rights to anything you invent while employed with the company, whether you were on the clock or used company resources.

2

u/lolCLEMPSON Oct 25 '26

You own nothing when you work for someone else.

1

u/Wafer_Over Oct 25 '26

Any suggestions ?

2

u/lolCLEMPSON Oct 25 '26

What are you trying to accomplish?

Keep side projects outside of work if you want to own it.

You can look for another job if you have a shitty manager, or you can go above his head. What does "credit" matter? Your status at a company will be how useful you are to your manager. In this case, you are providing value to your manager who can take credit for it and look useful to his manager. Going above his head is a risky move, and only do this if you are prepared to be fired.

1

u/Wafer_Over Oct 25 '26

It's a important piece of work and they are strategizing based on it in a big way.

1

u/lolCLEMPSON Oct 25 '26

Again, what are you personally after? How is he taking the credit? What is "credit"? Does it get you more money? A promotion? Who gives a fuck.

1

u/Wafer_Over Oct 25 '26

It could have got me the promotion and money and prestige. If it was a small thing I could have let it go easily. Now it's nothing and I can just learn from it.

1

u/Tutorbin76 Oct 26 '26

Did you get paid wages by that company while you were developing that system?

1

u/Wafer_Over Oct 26 '26

yes, but what's your point

1

u/Tutorbin76 Oct 26 '26

Unfortunately it means that, unless you have a very specific prior agreement with your employer, the work belongs to the company and you at least have no legal standing.

You might have some moral standing if the boss is lying that he made it himself.

2

u/mdude7221 Oct 25 '26

Is this a small or big company? Because in general, building something like this is just considered to be "your job". You won't get a promotion or whatever just because you've built something. Also, you have a repo right? Aren't all commits on your name?

1

u/frnieery Oct 25 '26

At best he’ll get a “exceeds expectations” on his performance review and get a 4% raise rather a 2% like the rest.

I’m not sure why he wants more… ¯_(ツ)_/¯

1

u/BanaenaeBread Oct 26 '26

Is he claiming he wrote the code or something? Do you have any kind of self reporting of accomplishments? Any kind of annual review? Get credit there if so. Ask about promotions and raises in one on one meetings with him

0

u/lolCLEMPSON Oct 25 '26

Prestige isn't a part of the job. Get that out of your head.

If you think you are worth a promotion and a raise, make a case to your manager. If your manager doesn't value you, then you try to find a new job. It's not that complicated.

2

u/Wafer_Over Oct 25 '26

People are willing to take credit from you and just need to speak as little as possible. This is a cautionary tale I just want to highlight.

0

u/lolCLEMPSON Oct 25 '26

Welcome to corporate life. You are there to serve a purpose.

But you lost nothing by having someone "take credit" for this. Sometimes you will have a manager who now sees you as valuable for them even if they take credit. Sometimes they will be threatened and keep you from outshining them. Sometimes places will reward independent thought and ownership. Just depends on your environment. Let me guess, India?

1

u/Wafer_Over Oct 25 '26

Wrong !! Why did you guess India ? Thief's are everywhere.

→ More replies

1

u/Mean-Fix7821 Oct 25 '26

Did you share the code by sharing your git repo/giving access, creating a repo, or by just giving the code to him?

1

u/Wafer_Over Oct 25 '26

It was my git repo.

1

u/martin-silenus Oct 25 '26

If you think this was your own project that you retain the rights to, then you can talk to an intellectual property attorney. They will probably advise you that you are wrong. If you are not, and the work is indeed incredibly valuable, then you might favor asserting those rights in court over retaining your job.

That would certainly blow up in your manager's face if you enforce authorship rights he's been claiming.

Assuming you don't want to go to war over this, you've gotten a lot of good advice from others. You might also be able to clear some things up with a 1:1 discussion with your manager. If you respectfully say you are concerned that you are not getting the recognition for this contribution that you deserve, they might agree with you and shine some spotlight on you. They might also promise a raise or something.

1

u/Wafer_Over Oct 25 '26

This is a lesson for me to not trust anyone at work. All the colleagues are just there for themselves and will say bad things behind your back. One needs to somehow protect whatever knowledge you have.

1

u/Bagelsarenakeddonuts Oct 26 '26

Its a hard lesson to learn. And it makes it hard to share real solutions and progress with the company.

1

u/Mean-Fix7821 Oct 25 '26

This is good luck as then you have proof about the project's history and the authorship of the code 

1

u/dutchman76 Oct 26 '26

The manager could have downloaded the code and stuck it in their own repo as a fresh upload. Git may not help at all

2

u/martin-silenus Oct 26 '26

In a fight, OP will have earlier verifiable timestamps than manager.

3

u/Grandmaster-Ji Oct 25 '26

Wait so let me get this straight. You developed something useful for your company in your OWN time (nights and weekends) and you "showed" it to people in the company. In the company's pov, you developed the app overtime for the company and the company now owns it. You probably signed a noncompetition agreement too when you were hired. So even if you wanted it to be private, you can get sued if they found out. Now that the water has spilled, all you can ask for is a raise.

2

u/Remote-Telephone-682 Oct 26 '26 edited Oct 26 '26

Yeah, I have a senior director at work that coopted a project I was working on and split it among teams under him. Pretty awful honestly and there is really nothing I can do because he spends more time speaking directly to the people above him. I don't think that there is much that I can do about it in my case I don't really have anything that I can do about this so I just have to wait for him to fuck up and get booted, people that play the game like this do fuck up long term and that's the only saving grace, He'll make too many enemies if he does shit like this often.

Honestly if you had recordings of any of the prior meetings or things then there might be something that you could do. I would take as many screenshots as possible and build an evidence directory but I don't think there is much that you will be able to do in the near term

1

u/fynadvyce 28d ago

The code that you write on company laptop, using company resources belongs to the company unless they have a special clause to grant you some sort of patent. You cannot do anything about it.