> That means, if it isn't a "syntactically" valid program, you can't create it in the first place.
It's an interesting idea. I don't know if it would work for me, though. I don't write code as a stepwise refinement of a valid program, I massage the text gradually into a valid program. This is especially true when refactoring.