Depends...
first rule of any combat, be it digital, or real..something any warrior,be it couch warrior, or a soehi should know... knowing what to use for what situation and when, and being able to improvise.
Harder done in game obviously as it's easy to blow the ability of a character, or a weapon out of realistic proportions ( which I actually hate "god guns" or blades that make a lightsaber seem like a butter knife)
but I know a few games where it actually is better to get inside the physical range of a specific enemy type and do melee, as they are geared as long range attackers.
down side being that damage is generic in almost games hp loss is hp loss no mater if it's a nuclear tipped, laser guided RPG , or a satellite strike, Katana hit, or a cardboard box thrown....you cant really use the real life abilities that you could with each one...
cardboard boxes are actually really useful distractions in real world live or die situations...