If the underlings know their product is intended to be trashed, do you really think they will suffer through the late evenings and weekends of gruelling overtime to patch ugly bugs in production?
I don't.
I don't.
I think programmers in general have an overly pessimistic expectation of the lifespan of their works. They write temporary, ugly hacks for the sake of expediency, and then 10, 20 years later the whole world is still suffering because of those "temporary" hacks.
Most companies always talk about "us" and "our company". But once it gets sold, it will be very clear that it's not "us".