I wonder what's the median life expectancy of a piece of code.
The masterpiece I fretted over for endless hours is guaranteed to be obsolete within 1 year.
The crappy hack with the comment that says "@TODO make not be garbage sorry" is cursed to live on for eternity.
I think good code is vital to the software development process. It doesn't have to start out good but it should end good. Because you're going to be back at this code over and over. A little bit of effort up front can save you a lot of time in the long term.