@humn If you're interested in that sort of thing, Edgar Allan Poe's
Philosophy of Composition is definitely worth a read. It goes into some of the thoughts behind the construction of
The Raven, an absolutely brilliant poem which needs to be read several times to appreciate all its layers of rhythm, rhyme, meaning, and metaphor.