Given the quality of most guitar education though, I wouldn't take their lack of using analogy as any kind of bonus. Guitarists are notorious for bullshit education that's basically, "No look at me do it. I can't explain how I do it. Just like this. No wrong!" If they were better at explaining and bridging concepts using existing concepts people have then they might be better at teaching it.
1: http://www.idlewords.com/2005/04/dabblers_and_blowhards.htm
The reason people use analogies for programming is it's not as common in the general population so we need something they can latch onto that they do no. Music and art are deeply embedded in everyone's knowledge, so they're easy analogies. Math isn't as deeply embedded so it's not as useful unless the person has a background in math.
Even then, I've taught people with solid math or engineering backgrounds that still struggled with programming concepts. Programming is just weird and hard to explain.
Music and programming are creative tasks that require you to think of new ways to solve problems or express yourself. Math is a system of calculation.
A programming language is not an instrument. Its a language that lies somewhere between logic, math, and actual spoken language.
When I was learning guitar, it wasn't filled with analogies like "A guitar is like a broom, you've got to learn to sweep across the strings consistently". They just said, learning guitar is hard, practice and you will get better.
Don't dumb it down for people learning, just say straight out. "Using an IDE will hide the low level things like compilation that you will need to know to be a good programmer".