You say that on a site where the ethos is "start building a company and product now, we'll figure out what it should do later" - because that's a way that works.
Being open to refining your idea or pivoting as you go is a horse of a different color.
But trying to write code without a clear purpose in mind is the equivalent of monkeys banging away at typewriters, to return to our "writing" metaphor.