Even if there are tight time constraints, you won’t sacrifice quality, because that would make you slower.
Too right. People find this so hard to understand. I think they dramatically underestimate the payback time on technical debt.
I am currently working in a startup that has the classic "we're a startup, quality doesn't matter" attitude. They think that they might not be around in a year so it's best to go fast and not give a shit about tech debt.
In my experience that attitude bites in under 6 months. I'm already wasting entire days sorting out messes that they neglected to deal with.
OPAM (OCaml's package manager) had a bug where it couldn't find
curlorwgetto download stuff with (don't ask me why it shelled out to those in the first place) if you were in more than 32 Unix groups. Have fun thinking of a reasonable explanation for that!