Doesn't sound to me as if the MAX problem is a coding issue. Coders work to a specification. The specification comes from a design. The design is Boeing's responsibilty. As design parameters changed, it should have been someone's job to take a high-level holistic view of the overall design and spec and identify everything that would be affected. It's not OK to just redesign, write new specifications and give them to the cheap offshore coding subcontractors.
From all accounts, Boeing got rid of the people whose job this would have been. I understand why. Those people are expensive, and by the very nature of their work they slow things down.
Boeing saved money on coders, but also saved money on the experts who were needed to compensate for the cheap coding.