Shoot them both and buy the one you like the best. I like glock better for a defence pistol. Nothing to switch on or off and a better trigger pull , first and all the rest. Did not care for the grip angle but rounds down range took care of that. Just note that the glock 19 has a grip thats a bit shorter but still a full grip and can use the large mags.
And you also may want to look at the ruger sr9c I took the advice off of here and it is a great weapon and you can change the grip size with either a 17 round mag with grip extension or small 10 round mag I carry it with the 17 round
"You can all go to Hell and I will go to Texas"