While some knock the new S&W guns I don’t think you really have anything to worry about from a quality standpoint. The gun is also backed by a fine organization that will certainly take care of you if a problem did arise
The Rugers are also nice guns and have excellent customer service backing them up as well.
Be aware that some ammunition manufacturers specifically state not to use their higher power ammo in a S&W gun. For most people this will never be a problem, but if you think you might ever want to try hotter loads the Ruger might be a better choice.
https://www.buffalobore.com/index.ph...ct_detail&p=54