You may be confusing "shitty code" with prototyping.
This may be semantics at some level, but I think it's important to not imply you just don't care about the quality of your code. Prototyping intentionally sacrifices some quality to prove a point quickly, but once the point is proven, you throw it away and rewrite with your normal, high standards.