I don't think in any way that writing code without documentation, tests, and a good design is a good thing, even if it failed after several months because of the budget, then this is the budget's fault, not the code's fault.
But, of course, I might be wrong.