I watched a special last year about a new gun being tested that looked interesting. It had a built in electronic range finder and fired smart ammunition that could be set to detonate immediately behind your target so they couldn't hide behind terrain.
They demoed it firing through a window and detonating in the room, shredding a dummy that was hidden out of sight. Same for a dummy behind a wall. They even showed the rounds being set to fire through a wall and detonating afterwards so it would take out whatever is hiding.
Anyone familiar with this? I know there's a lot of jokes about guns that use electricity, but if it gives a real combat advantage, it seems pretty useful.