What would you do? Boss thought I copied code from Web
My boss recently instructed a coworker to rewrite my feature behind my back, and I found out by chance. More than a week and dozens of panic attacks later, he told me that he thought some of it was stolen because he didn't think I was capable of writing sophisticated JavaScript. I am a green dev, but I spend tons of time outside of work becoming a better developer, and primarily I have focused on JS because that is the bulk of what I do at work. I was completely baffled by this accusation and just explained to him that I spend lots of time researching and want to write the absolute best code possible. He seemed to understand, but this situation makes me extremely uncomfortable. It is insulting on multiple levels to think that I am so incompetent that I would steal. Has anyone else encountered this?
49 comments
[ 3.3 ms ] story [ 94.2 ms ] threadYour boss sounds incompetent, but these answers would probably help us understand.
He also told me that "inner JavaScript classes" are inappropriate for enterprise code. I asked him to explain what he was talking about - he meant my object constructors. He said I could not create new java (yes, java) classes in my JavaScript code. ????
If you can: be diplomatic, take him out for drinks after work one day and have a heart-to-heart. He wields a significant amount of power, and it'd be in your best interest for him to like you alot.
Word substitute accordingly. There's a reason it's a bad idea for candidates to bad-mouth their current employer, and it's the reverse of this situation.
I'd guess that he and the product do not tend to use javascript objects when writing code - which means that the code was above his (and the product's average) coding head. This also means that it wasn't the best way for you to code the project.
For a code review to pass, the reviewer should think about the minimum person working on the project and whether they would understand or make guesses when fixing it - or at least know where / when to get help.
And I only say "probably" because it sounds like you're looking for a local W-2 gig, and there are some places (e.g. rural Idaho) where there's likely to be a shortage of potential employers.
Elsewhere, consider "any company with senior programmers to report to" as a location which is probably hiring, or at least entertaining applicants - regardless of what any public listings may say about what openings exist, or how much experience or what madcap assortment of skills any job postings say that they'd like (yes, like).
You have the drive to learn and grow. Go to meetups, user groups, etc. and get to know others who are like-minded. You'll build the connections you need to find a better job, even if you are a junior dev. They'll see your passion and potential and hire you for that.
You are right to feel annoyed by this. I would. I think anyone who put the time & effort into something would too. Hopefully your boss will figure it out one day.
Her and I did not get along very well that year.
If it works, it works. Why bother re-writing it anyway? Unless its refactoring.
If its me, Ill confront him and ask him about his insecurities and if theres any issues.
But thats just me.
Using code from the web without understanding it is not a good thing. But I would think worse of somebody who (for example) spent a week reimplementing in Perl what he could have installed from CPAN. (Do I understand everything I pull down from CPAN? Umm, well, I understand how to use it.)
the bottom line was that he didn't understand my code, and he thought i wasn't smart enough to write it.