FYI, 'Glock' has actually evolved from a specific manufacturer to a 'style' of gun offered by many manufacturers. The Springfield XD and the S&W M&P are both variants of the Glock polymer handgun with the internal hammer. So, if that is the style you are set on, you have many options, not just Glock.
The other two most popular handgun 'styles' are the 1911 and the M9. Research all three styles before you start comparing manufacturers.
The other two most popular handgun 'styles' are the 1911 and the M9. Research all three styles before you start comparing manufacturers.