If the OP wants a gun that is reasonably accurate. dead nuts reliable and will last him his lifetime buy a used CZ75B/85 Combat. Going striker fired the M&P or Glock or both decent pistols. The M&P beats the Glock on ergonomics. and printability. With heavy use the Gen 4 Glocks slides have a history of cracking at the nose and/or just behind the trigger guard area. Both issues were corrected with the Gen 5. The Gen 2 M&P is much improved over the Gen 1 version and is a better pistol than the Gen 5 Glock. There are even better options if striker fired pistols are concerned eg the SIG 320 series, and the PPQ and PDP both by Walther come to mind but also come with a higher price tag.
If all you are going to do is run to the range every couple of weeks for a bit of plinking get yourself a used Ruger GP-100 and a couple hundred rounds of 38 special and really find out what fun plinking is all about. Save your brass because reloading is right around the corner.
Take Care
Bob