I'm a programmer. I love my job, I love it so much that I continue spending time programming when I'm at home in out-of-office hours like in the evening or at the weekend.
The language that I program in has to expose the source code, I can't just make a software that could be installed without showing source codes. I feel happy to share the code I write on my free-time with the company I work for. They are obviously very happy to accept my code and use it in internal procedures, making everything simpler and faster saving them hours by automating activities for them.
Yesterday they needed a change in one of MY procedures but I couldn't spend time on applying them because I am near a very strict and important (in the opinion of the project manager) delivery. So they gave this activity (changing MY code/procedure) to another programmer. I like her, she's a good programmer. But that's my code, I worked on it on my free time and I don't want them to change it without my supervision.
I asked to a pair of colleagues what they think about this, and they're with me. But my code was a gift and it seems that the company really needed those changes.
Is it stupid on my side being "jealous" of my code? Was it rude on their side, giving this activity to someone else? How can I say to them that I didn't like it, without being rude?
edit: I'm speaking about stand-alone procedure, developed outside from the office, not part of my office work (but related with it)