Not a fan of the spongy trigger on the M&P, at least when comparing to the Glock.
I dislike the trigger and grip shape of the M&P, so Glock has the better ergonomics for me. Glock has fewer parts, less to break, easier to detail strip, easier to maintain. M&P looks better, is easier for people with small hands to manipulate. M&P comes with night sights standard, that's not always the case with Glocks, when you get to the 9c vs the 26 the 9c will have a rail when the 26 won't.
Both are fine weapons and thousands upon thousands trust their lives to each everyday, but for me when I had to give consideration to both, I chose Glocks