Haven't run an M&P, but would take the XD any day over the Glock. They simply fit/feel better in the hand, and are so easy to shoot well that even a novice can be good with them.

The Glock feels like a brick.