I carried a Glock 22 for the last year and a half before I retired, and probably put around 3,000 rounds through it. Now that I'm retired and can carry whatever I want, I only carry XD's. I have them in 9x19, 357 Sig, .40 S&W and .45 acp.
For me, the XD points better, shoots more accurately and is reliable. The XD format is the only one that will allow me to close my eyes, bring the handgun up and point towards the target, and when I open my eyes, it will be aligned with the target. The ergonomics are supurb, at least for me.
I could just never get comfortable with the Glock, even though I could shoot it well. I was rangemaster for our department for over two years, and we had over 600 sworn personnel, so I'm familiar with handguns. For me, the XD has just about everything I want in a defensive handgun.
Hope this helps.
Fred