He must have been “Agile...” ;-)
Oopsie, so it did leak gallons and gallons of boiler-water ... but he wrote the code the first time real fast, didn’t he? (And the second time, and the third, and ...)
Every piece of code that you write is worth writing well, especially if it is to be anywhere close to a production system. And there is no elitism about saying that. (Personally, I do not like code that I thought had been finished years ago, coming back from the dead to bite me in the asterisk. I resent and despise poorly-written stuff that fails at three o'clock in the morning.) When you put in a plumbing fixture, you have one chance to make a permanent and lasting impression on the client ... and you will in fact do so, either way. The client expectation is that the fixture is the right one, properly installed, and of course it never leaks. My predecessor obviously did not know the basic plumbing rule that a galvanized fitting cannot be attached to a copper piping system because it will corrode; as it did, which is why it broke off in my hand. A professional plumber has to get it right the first time, even though (s)he is merely dealing with a low-pressure water piping system ... not something as vastly complicated as computer software.