When I got my Glock 20 I was more interested in the 10mm Auto than the Glock. This was back when there weren't near as many options available in 10mm Auto. As my signature suggests, I've been a fan of the 10mm Auto for a while, since before it was cool. The Glock 20 was one of the only options that didn't have reputation for battering itself apart with a steady diet of full power loads. It was one of the only options that wasn't limited to single stack capacity. And it was one of the only options that cost significantly less than $1000, more like half that. So I took the plunge. It took me a while to figure out how to shoot the Glock, but as mentioned, ergonomics are subjective.
As mentioned, the Glock 20 is more proven, more available, and has vastly more aftermarket support. Glocks are easy to work on, so much like having an AR-15 or a Remington 870, it is easy to get carried away with the upgrades. Over the years I have acquired a KKM Precision barrel because the tighter chamber helps preserve brass and a 20 pound ISMI recoil spring on a stainless guide rod to keep the my brass in the same county. Remember, I got into 10mm Auto back before Double Tap started the boutique ammo market that 10mm Auto thrives in, so the cartridge was a handloading proposition. Having your brass super stretched in loose Glock chamber and then tossed nearly into low earth orbit by the factory 17 pound recoil spring sucked. Since then I have added an extended slide stop and TruGlo TFO sights, which are awesome, BTW. The clip on beavertail only cost me $10, took 40 seconds to install, and has really saved my hands, as I have a tendency to creep up really high on the pistol and get bit by the slide as a result. Finally, a member here on the forum sent me a Phantom trigger for it, which is also outstanding, and which I also was able to install myself in minutes without tools because the Glock is like Legos for big kids.
The experience I have with the XD has been underwhelming for me. It certainly isn't a Glock-killer, to me. It seems to have a higher bore axis and be a little more complex under the hood, but this has been from experience limited to a few hundreds rounds, mostly through a 9mm compact, but a few rounds through a sub-compact .45, which I found to be snappy, and unpleasant. So yeah, between the Glock 20 and the new XD, I've already made my choice and don't regret it for a second. This thing is rarely more than an arm's reach away: