I've never been a fan of Glocks, and my occasional attempts to shoot them well were frustrating. I'm a long-time 1911 shooter, with a fondness for S&W revolvers. Glocks don't fit in with any of my experience, and i never found them to warrant my attention.
Then I decided to open my mind to a polymer-framed carry gun. The local range had M&Ps, XDs, and Glocks in the fleet. The Glocks ran a distant third in my evaluations, right up until I tried a G30. For some reason, I was able to shoot the 30 very well from the first round, and I think the recoil opened my mind a lot more. I liked the g30 enough to buy one - and a G34, and I'm also considering a G26....
OTOH, my wife just got a Ruger LC9, and found what felt good in her hand at the sales counter didn't feel so good under recoil. Rather than fret over it, I went to the rental counter and got a M&P 9, a 9c, a XD compact and a Glock 19. She shot the Glock well, but the M&P 9c was right with it and was clearly the most comfortable for her to shoot (while the full-size M&P 9 wasn't even close for her) - so now she's got one ordered and will use it for the majority of her range work. We'll keep the LC9 as a carry piece - even though I could sell it right now for what we're into it. It's a fine little gun that I shoot well....
Bottom line is shoot everything you can get your hands on, and buy the one that speaks to you. It's hard to go too far wrong with S&W, XD, Glock, or a fistful of others - but they're all different enough (both mfgs AND models!) that you have to find the one that fits.