The XD has come down in price since the new XDM ($650-$750) has come to market, and now you can make the claim that it is one of the most affordable polymer pistols out there (approx $500). It is definitely a great pistol..... BUT, I have long said that Glock is without a doubt the best value in handguns there is.
Yes, you may not like them.... they may not fit your had right..... you may say they are ugly.... etc, etc. However, their extreme reliability and ruggedness put them on anyone's short list of top choices for personal defense..... and at approx $500 (with just as reliable used models being able to be found at $350-$400) they are a bargain. Every other handgun on my "list of guns I'd trust my life to" starts off at around $600-$700 ..... a solid dependable 1911 can cost you a $1000 and move upwards to $2000+ very quickly. For those prices, on the low end you are talking about a brand new Glock and an extra $200 left over for mags, holsters, and ammo for your new little buddie. And when you look at a $1000 to $1500 1911, you start talking about 2 or 3 Glocks that can be had for that same price.
Bottom line: Glock is a world class personal defense gun at a cant be passed up bargain price.