Honestly you can't go wrong with either one in terms of reliability. I had a M&P9 compact and it was a fantastic weapon. Also had the G23, also a great gun but wanted more capacity so I went with the G19. It's really up to you what gun you go with. Hit the gun shop and fondle 'em both side by side and decide for yourself.
Manny
Manny