Something one of my first mentors in the workplace ever told me:
If you can't be bothered to take the time to write something properly in the first damned place, you probably shouldn't be writing it in the first damned place.
There is WAY too much "oh we'll do it right later" going on in the industry because as you noted, 'later' often never comes, and when it does it is when the whole mess goes bits-up face-down... and WHEN it plows face first into the ground SOMEONE is going to go "what idiot wrote this?!?"
... and guess where the finger is going to point!
A lot of it comes from the unrealistic expectations that are rampant right now. Off the shelf answers and slopping together snippets can result in something that APPEARS to work just because in the creators ignorance they're unaware of how insecure, inaccessible, or just plain broken their mess is. The 'now now now, we want it now and to hell with the future' instant gratification attitude results in so many money-pit projects that are LUCKY if they last out a year. THEN when it does fail miserably, they stand around wondering where it all went wrong...
When it was wrong from day one because of the rush to market.
It's the credit mentality in action, pay more later for something you can't afford now. It's NOT a recipe for success, if anything its how to voluntarily make a slave of oneself.
What was it Kissenger joked? America has gone from a nation of savers to a nation of debters? Describes the IT industry quite nicely these days.