This is true for any shot, but you’d rather have the RIGHT player take a 12 foot jumper than continue dribbling. There’s been people here lamenting our 3 point percentages. Well statistically, we want our 30% 3 point shooters shooting 3s ahead of our 40% or less mid range shooters shooting mid range. Now if you just have a dude, he usually has some freedom. Or if you’re in the nba, and the defense schemes a million different ways to stop dunks and 3s, your dudes who can hit the mid range become a bigger part of your offense when they HAVE to.
Depending on how analytically driven a coach’s offensive philosophy is, the play on driving to a congested paint is to jump stop and kick out to shooter which forces a close out which leads more efficient shot opportunities, or do the Steve Nash over penetration thing and hit a cutter diving to the rim, or a kickout if the d sucks in too far.