Note that the outer front pocket is placed directly over the larger inner front pocket. When carrying a small pistol in the inner pocket, the outer pocket helps to break up or conceal the gun's printing. And if you do get get some printing, it's easy to slide a piece of cardboard or some other object into the front pocket to further obscure any pistol print.
No, these pockets won't work for large or many medium frame handguns. But for summer carry of something like a Kel-Tec P-32 or maybe a Ruger LCP, carried in a Desantis Nemesis pocket holster, I I think these particular cargo shorts are hard to beat.
I've typically bought shorts like these "on sale" at Kohl's for around 15 bucks.