I absolutely agree. My intent wasn't to describe programming as magic in the sense that it's easy or as simple/nonsensical as waving a wand around. It's very much a discipline. I was drawing the parallel to magic in that it's an ethereal exercise—you describe what you want to happen, and then the letter of your description comes to pass. Getting this description to accurately model a moving system is a huge part of what makes the field so challenging.
dyeje was on the mark with their fantastic quote further up the thread:
"The programmer, like the poet, works only slightly removed from pure thought-stuff. He builds castles in the air, from air, creating by exertion of the imagination. Few media of creation are so flexible, so easy to polish and rework, so readily capable of realizing grand conceptual structures. Yet the program construct, unlike the poet’s words, is real in the sense that it moves and works, producing visible outputs separate from the construct itself. It prints results, draws pictures, produces sounds, moves arms."