I've got a Glock 22 and a Glock 19.
I bought the Glock 19 in preference to a Glock 23 because recoil of the Glock 22 was not to my liking. It's not like it's a 4" Model 29, but it's VERY violent, producing a lot of muzzle whip. I find my 3.5" Citadel 1911 in .45acp MUCH more controllable and pleasant to shoot.
I find my Glock 19 both controllable and pleasant to shoot, although if I had it to do again, I'd probably get a Glock 23 and a 9mm conversion barrel, just for the versatility.
In a steel gun, the .40 S&W is probably ok. In a gun as light as a Glock 22/23, not so much.