Agree, but it sucks to have people rip you apart for issues that you already knew about but didn't have time to polish. It's a loss of credibility in their eyes.
Discussion
Signal that they are not worth your time if they bitch about it, specially if you disclose the state of the code