But you're not swinging at a wall. You're swinging at an opponent. Just being in range doesn't guarantee a hit. Stand within a foot of, and take a swing at Mike Tyson. I 100% assure you, you will miss. His evasion STAT is simply too high compared to yours. Also, when he strikes back, he's going to obliterate you because of his absurdly high Strength stat.
First off D&D rules are just a cheap knock off of real life. They're a way to simulate what we cannot do because the medium is so confined. There is no way to represent physical actions, or mental actions realistic within that system.
Now onto your Mike Tyson example. Your example is flawed because you're asking a normal person who (most likely) has no training in fighting to take a punch at someone who has made a career out of righting. I could ask Mike Tyson to play the drums like myself (and I'm a novice) and he would have a hard time doing so.
If my character is say... 20 years old at creation and my skills are in combat I expect him to be able to take on a lowly bandit because he most likely has been training with a sword for about a year or two (at the minimum). When he cannot even hit a bandit with his sword then something is wrong, yes you can argue that you'll miss and I think that is appropriate, however for an RPG in which you're in total control of your character missing via some internal equation is stupid. It works in a turn based RPG but not an an action RPG.
To sum it up I hate the idea of missing in an RPG where I define my character. If I've created this elaborate back story that my character is a knight who has been wrongly prosecuted then I do not expect him to miss against a level 1 bandit. It destroys my backstory, any sense of immersion and makes it feel more like a game than an experience.
To be fair going from a shallow puddle (I'm bob and I'm an argonian) to a slightly shallower puddle (I'm bob I work at the general foods store) isn't that big of a step back.