I refactored our code and made a library that improved our work. It wasn't a big deal and I didn't even mention except to share with my team mates. Our boss is non technical. In our team meeting he congratulated team mate on taking the initiative and creativity in making this library. I don't think he was banking on boss mentioning it. I was so shocked all I can muster was "You mean the library I made?". This has weighed on me a lot and I don't feel like sharing anything anymore. I mentioned to the boss later that I made this, but I don't think they really care or understand. What do I do?
There are two issues here:<p>1. Is your boss misinformed/clueless/you're misunderstanding?<p>2. Does your boss not care about you?<p>#1 can be cleared up, as others here say, by better communication and by making sure your boss knows your accomplishments.<p>If answer to #2 is "boss doesn't care" you'll want to start thinking about new job, or new team at least, because this is just a symptom of a deeper problem.
I would go talk to both your team mate and your boss, in that order. I would also be very cordial and professional. Learn why the teammate took the credit or may be the boss is just mistaken. Find out the truth and then set the story straight with the boss without bad mouthing the teammate.<p>If this happens again, then you can be little more direct.<p>It would also behoove you to mention your accomplishments in passing to your boss during a casual chat in the morning while you are talking about weather or current events. Bosses for most parts don't have all the minute details of who is doing what.
Another thing that would be useful is for your version-control systems (git/svn etc) to be able to say precisely who made which changes. That gives you proof of who did which work. Even if your company/org does not use version control, you can use it independently as an individual, and have a complete development history of your own which documents your work.
It would be harder for someone to claim your work if you have a ton of incremental check-ins and they don't.
The feeling of being relevant and contributing is a very powerful force. Its why people will take enhancers that help them win and place high in local 5K run races. Like it even matters, but to them it is everything. Worth cheating to get it they think. Something that has always helped me is knowing that cheaters can't lead, they can only follow. He'll need to steal credit from someone else to keep this "look" going.<p>So, for now ... I say to keep the peace - take it on the chin. Good learning experience for you. You did not properly credit yourself and made the way for this to happen. Note that you must be balanced in life too and not toot your horn too loudly. Have balance, allow others to succeed and get credit too. Maybe you saw the sample code on stack-overflow and refactored it. We all learn from others anyway.<p>The real problem here is the pat on the back from the boss, not the code itself which you saw as trivial anyway. Be aware of how this company operates. However, don't stop contributing! That will cause you to die inside. Your contributions are great and will help you to grow. So, no matter who gets the credit, keep doing it so that you'll be better off when you leave this place.
Chalk this event up to a lesson learned. Now go back to doing great stuff and, from now on, make sure your boss is aware of it.<p>Also, this is an example of having a bad boss and is one of the reasons technical people generally prefer working for other technical people.
It could have been a simple misunderstanding and your boss crediting the wrong person.<p>In the big picture these things don't matter a whole lot, I wouldn't take the time to discuss it with your boss any further.<p>Maybe talk to your teammate and see if he was trying to take credit for it or if it just happened to look that way.<p>Try to bring up more what you are working on and ideas you are executing on with your team and boss in the future.<p>kudos are nice but very minor in the big scheme of things. You are all cogs in a machine to your company and boss. So I wouldn't let it get you down and it's not worth making waves over.
If you can ascertain objectively that your boss doesn't care or understand about your work, you can pretty much conclude that your environment is not emotionally healthy for you. Leave if that is the case and if you can find another gig elsewhere.
This happens almost everywhere unfortunately.<p>If you want to 'compete', the way to play the game is to promote yourself as most of the time, no one else is going to. This is obviously what your colleague is up to.<p>I used to get mad about the same thing happening to me and it happened a lot. After talking to different people about ways to manage it, I decided to come to terms with it because I wasn't that interested in the alternative (self-promotion). Now I take comfort from the fact if they have to take credit for it, they are obviously worried about something that I am not.
> I refactored our code and made a library that improved our work. It wasn't a big deal ...<p>Significance, Contribution, Growth are core Human Needs.<p>Was this a big deal or NOT?<p>Can you quantify the improvement in your work?<p>Decide what you want -<p>Guy Kawasaki — 'If you don't toot your own horn, don't complain that there's no music.'