To me, the fault is in the industry and how the ships are run.
To me, the fault is in the industry and how the ships are run.
But I think the GP here is describing when people really can’t program. Like they can only write trivial programs by copy/pasting code from stackoverflow, and they don’t understand CS at all.
That is a different issue then knowledgeable devs cutting corners to meet deadlines.
Sometimes it's legitimately not worth optimizing something that will never need those optimizations. Sometimes management doesn't realize something needs to be optimized before it falls over. Sometimes management does make a bad call and doesn't want to optimize something that should be, but that's been uncommon (at least for me).
If management is going down a rushed path and unaware of the tech debt piling up, that's a failure of senior developers to raise those issues.
My senior experience is that if I see trouble that requires management intervention ahead, I communicate about it and then bail out. Trying to save it will just burn me out and as long as I am trying to fix issues, management thinks everything is ok and I am just stupid worrier. The issues must get real bad for them to be noticed and fairly often, it is best to let them go there fast.
For most people software engineering is about driving results, not making everything beautiful under the hood. Although it's nice to do that when you have time.