Diana Gabaldon said this quote

You don’t need to know the purpose as you write, but when you read over something you’ve written, you should be able to point to any given element—be that a line of dialogue, a descriptive phrase, a plot point—and say why it’s there.