As a system integrator, a healthy portion of my work is rewriting other companies code. Sometime's it's code that was written by the company itself (internal engineer in the past), and sometimes it is code written by other SI's. Recently, I've encountered some really bad code, some bordering on dangerous. Do you notify the customer that they should be aware that Vendor A is providing substandard work that could potentially adversely affect process/safety? Or do you bite your tongue and just rewrite it properly, knowing that Vendor A's code is elsewhere in the plant. I don't want to get into a position of bad mouthing another SI, because I know we all have different standards and methodologies, but at the same time, do you just let bad code go unchecked? And what if it is the own company's engineer that wrote the code? Do you somehow gracefully educate without making the engineer feel incompetent?
Just wondering how the rest of you handle it, and if you're rewriting my code, I apologize in advance for my bad code
Just wondering how the rest of you handle it, and if you're rewriting my code, I apologize in advance for my bad code