Some programmers prefer to plan out their programs in advance, while others like to figure them out as they write the code.
The traditional approach taught in college is to design a program on paper before coding, but not everyone finds this method effective.
Some programmers, like the author of Hackers and Painters, prefer to sketch out their programs while coding, gradually refining and debugging as they go.
This approach of figuring out programs while writing them is likened to the creative processes of writers, painters, and architects.