Actually, the 10mm was the solution to the problem that Robenstein brings up.
https://en.m.wikipedia.org/wiki/1986_FBI_Miami_shootout
In 1986, the FBI lost agents in a gun battle, partly due to the performance of the 9mm that the agents were using.
The response to poor 9mm ballistics and barrier performance was the 10mm. But not everyone could handle the power/recoil of the 10mm. A 180gr JHP at 1300+ FPS is a hot round...and the S&W model 1006 is a big pistol.
So, the FBI asked to lower the pressure and velocity of the 10mm, to about 1000 FPS. But that took a lot less powder, so Smith & Wesson offered a new cartridge: same 10mm bullet, but shorter brass with reduced charge, that allowed a double stack magazine with higher capacity. The .40 S&W was born.
And adopted by the FBI as well as departments across the country.
So, the .40 was the answer to the problem of agents with smaller/weaker hands being unable to handle the 10mm.
But look at the illogic of the opinions on the .40 - it beats up guns from high recoil, but doesn't add any ballistic performance. Huh? I guess Newton's third law was repealed? The higher recoil isn't from greater muzzle energy?!?
A pistol built for the .40 will last just as long as any 9mm pistol. The .40 offers higher muzzle energy than the 9mm, though only a fraction of what the 10mm offered. It's a "tweener" cartridge. Bigger bullet, more energy, more recoil than 9mm but less magazine capacity.
Speer and Federal make some excellent .40 loads, using the same technology and design as their 9mm. The Gold Dot 165gr JHP, for example, is an excellent .40 round. At 1150 FPS, it's got the velocity of 124gr 9mm, but with 30% greater weight and energy. I carry either the Gold Dot 165gr JHP or the Federal 180gr JHP.
And .40 is back on shelves in abundance. I just bought 1000 rounds for $270, including shipping. That's as good as I've been able to get for 9mm.
I've had a H&K USP Compact in .40 at my side for over a decade. Great pistol. Great cartridge. I have complete confidence in the set up. Sure, it's got more muzzle flip than the 9mm version of the same pistol, and three fewer rounds, but each round has 30% greater energy and 20% greater frontal area. That's a good set of trade offs.
If you would like a .40, then buy one.
Forget all the negative opinions. Each caliber represents compromises, and the .40 has a good set of trade offs; characteristics that you can consider when choosing a tool (gun) for a particular task, and a particular shooter. Like I said: I've got six 9mm pistols, they're great. I've got three .40 pistols, also great.
Then, I've got the 10mm...but that's another story...lets just say that big, heavy and slow has its adherents...but I am a fan of big, heavy, and fast...