One thing you have to keep in mind: manufacturers do not set to produce the Best handgun, they set to produce what people can afford, as long as it works, so that they can sell enough of them to make money.
What gives them an edge over other manufacturers is how much profit margin they can wring out of a model, competing against another manufacturer's model of similar specs/quality.
Glock stormed the markets not due to superior ergonomics, silky-smooth crisp trigger, concealable slimness, bullseye-worthy accuracy... All of which sorely lacks from any of their products. No, Glock blew away the competition when they offered to LE Departments a $500 gun costing $60 to produce, competing against $550 guns costing $350 to produce - and they offered the same Departments to trade-in their old issue guns for a price that would have sent the competition into bankruptcy.
Glock won the day because of the bean counters, not because of technical superiority. The rest is clever marketing, boosted by "All LE Use Glocks, They Know Better, And So Do You".
If you remove all stickers and brand names, and give an uninitiated a dozen of different handguns to try, asking them to choose the one that best fits their hand, that points most instinctively, that has the best trigger, that is the most accurate, they won't pick a Glock.
Not saying that they're bad (they're definitely not, they do get the job done), only that all the hullabaloo has much more to do with perceived image, than real "feel-in-the-hand".