Code is a story we tell to a computer and, more importantly, a story we tell to other programmers.
Without a cohesive plot, the story makes no sense. Without intriguing characters, readers lose interest. Programs can need both of these as much or more than a novel or script.
How would you describe your code in prose? What would the control flow look like if performed by actors? Does your program have a happy ending? A sad one? What would those even look like?