Don't assume I am talking about personal ROI. Team ROI is critical. Seeing a feature early so we can decide if the goal needs to be changed it valuable. Clean code that's going to be deleted tomorrow is not.
The 3rd time you touch a function is often a great time to make it awesome. However, a lot of code never reaches production and maintainability is more of an issue for code that survives.
I don't think the parent was talking about writing bad code. I think he/she was saying not to stress about writing good code too much. Those are different things.
whoever works with you will have to bear the burden that you left behind because you think its a low ROI for YOU