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).
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.
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.
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.
If you are given really hard questions in an interview or they ask for dumb invert binary tree like questions. It is most likely that person who interviews you is lazy or does not want to hire you but have no choice but to interview you.
I beleive pair programming interviews are the best. As they can be 1) Time limited so you don't take home and waste your time. 2) Can be a portion of a real world problem.
I've literally never seen this happen in real life.
Just the average graduate who got a degree and then a low effort job that put to sleep the little he knew from college.
I've seen countless especially in consulting.
Yet I've never seen this. At least, not with the market I work in. Perhaps in other markets.
> I've seen countless especially in consulting.
How is that relevant to SWE?