I don't have the .40 but I got a 9mm compact for my wife and it's been a very satisfactory gun. I think it has the mildest recoil of any 9mm of its size. Of course, the .40 would have more, but that's apples and oranges. It's a very easy gun to operate and maintain. It carries well, and completely disappears in a Don Hume Tuck-This IWB holster.
YMMV,
Doc