The Tortured Cake Metaphor

How is writing fiction like baking a cake?