Sigh..........it never fails, anytime somebody ask about a Glock, or XD somebody always comes along to chip in with "Glock Sucks" or "XDs suck".
Both have so far proven to be reliable dependable platforms. Some will like one over the other. I prefer the Glock for many reasons (but mostly because it does not look like a stack of legos, slapped together by a child with downs syndrome, like the XD does

).
I have owned Glocks for many years, and in all those years thousands of rounds later guess what. Not one time have any of them ever failed to go bang. Even if I am shooting some crappy made in Turkey 9mm subgun only ammo. I can always hit what I am aiming at with them. Tell me now why do they suck?