I will admit to the Glock legions that I came of age when 1911s, HK and Sig "spy style" pistols, and Berettas were the rage and that's what I'm used to and prefer for all applicable variety of calibers.
I have had my best luck with my 9mm Beretta 92SB as far as consistency. I absolutely love an HK P7...it feels like a finger point....wish I had one. The smaller Sigs also have that quality.
For up close serious encounters...I prefer a .45...a lightweight Officer's model I had for years suited me fine. Now I'd go for the Kimbers or P/Os.
In all seriousness...in close encounters a revolver is arguably a better choice.
I have no wisdom to offer to Marine Inspector, buty ou mentioned the P7 twice now, and I'm still drooling. To my regret, I passed one up in a trade some years ago. I could be wrong, but I think I remember H&K offering a .40 barrel/slide assembly for the P7.