That really isn’t exploratory programming. The end result should be code that you throw away en masse (it should in no case reach production). Otherwise, production practices will seep in, you’ll become attached to your code and the design it represents, hindering progress on the real design.
When I was a UX prototyper, none of my code ever made it into production.
When I was a UX prototyper, none of my code ever made it into production.