r/AskProgramming • • Apr 14 '21

Did another developer ever completely rewrite a program of yours and replace it in production without telling you? How did you react, what was the outcome of it?

As post says, just found out this happened to me while I was onsite somewhere else. The requirement was only to disable a splash screen and a couple of minor bug fixes as I laterally found out. The source was available, in the company location as required by our standards. The guy must have referred to the project to discover the original requirements (none were written down, it was all word of mouth customer/client direct at the time). Rather than do the sane thing and update the existing application, it has been totally rewritten, not put back in the source project location (or anywhere on the network for that matter) and not plugged back into the Upstream applications that depend on it as an external library. When I discovered the fact, I was flabbergasted to say the least. Still trying to work out if it is a declaration of war, an honest mistake or some other reason that I can’t fathom. If the source code couldn’t be located a simple question would have pointed it out along with some helpful pointers about why we did what we did. I can’t figure out why the guy would go to all the bother to totally rewrite the application instead of modifying easily what existed, other than boredom or assertion (x didn’t do it correctly, I alone, will fix it properly)

Am i overreacting? Should I be like meh, jokes on you now you have to support it and cross it off my list of concerns. It’s never happened before is why I’m asking. Literally everything else I’ve ever picked up from others, I’ve just worked with what was there as best i could, even if it was a mess. Always get there in the end and always in less time than a total rewrite.

Rant over.

Thoughts, comments or own stories are very welcome.

53 Upvotes

65 comments sorted by

View all comments

Show parent comments

1

u/starcrafter84 Apr 14 '21

This is nail on the head stuff. I know exactly who did it because he was showing it to me as part of a query on the latest state of something unrelated, so as to update the system with the current state before we get into the next project that requires it. Unfortunately for our business domain, the usual source control/repo type softwares are not useful to us because most of our source is written in proprietary languages that are not git compatible.

The real trick here is working out what to do about it because as you said, it’s concerning that a single actor can replace an entire feature in the code base and allow it to ship without anyone knowing or any trace being left.

3

u/avidvaulter Apr 14 '21

it’s concerning that a single actor can replace an entire feature in the code base and allow it to ship without anyone knowing or any trace being left

I mean, this is why you use source control.

1

u/starcrafter84 Apr 14 '21

Well in this instance they completely bypassed the source control of the existing project, and wrote a new one without good reason from what I can see. Then did not check this new project into the existing source control or notify anyone that a new project existed.

1

u/tenfingerperson Apr 14 '21

Trying to understand how this is possible. What type of work do you do... if all build processes are tied to the source control and deployment has the right promotion workflows this should be impossible...

1

u/starcrafter84 Apr 14 '21

We work in the machine building automation sector. It’s all proprietary PLC programs and HMI software. I have tried a few ways to work git or some other source control into our workflow but it just doesn’t fit nice at all. Closest I got was git extensions but even then it wasn’t nice.