The other one, like all of them, is essentially borderline junk which is hyper-marketed. Cheap parts and poor ergos.
Ergonomically I would have to agree, but that is an individual thing. The Glock is kind of like an AK, loose where it can be loose. This is not a close tolerance weapon.
But that is the intent. This weapon was designed as a military ad police sidearm. I don't know how many cop guns you have examined but they do not tend to keep them in pristine clean condition like you or I would. The same goes for military in a combat environment.
The Glock is designed to work every time, and it does that well. Then again so does the XD and the M+P. Three peas in a pod.