Whether it's planned or not, that "quick & dirty" code you're writing for that prototype is probably going to be around a long time. The question is, how big of a pain point will it be 5 or 10 years from now, after you've continued to build on top of it?