The Ranger has sure gotten muddled over the decades. It started out as a rough attempt at Aragorn given a game that had basically no skill system, which was, well, rough. Then it got Drizztz'd, which I should probably spoiler, it sounds kinda nasty, but included TWFing & light armor, because Drow liked TWF and light armor.

But, not to go into the whole sad history of the class that would never had been if Dave or Gary had thought of skills in 1972....
Aragorn didn't go around fighting wraiths and orc hordes in Fellowship sans armor because armor was proscribed by his class, he did it because he was on a fast/secretive travel mission. JRRT spelled that out for us (Gimli kept his mail because he was dwarfbaddass enough that it didn't slow him down). In pitched battles, Aragorn wore armor. Same with Conan, climbing around in a ruin trying to steal something, no armor, pitched battle for Aquilonia, full mail.
3e tried, and failed so badly, to make the sort of armor you wore a logical decision instead of a class dictate. Spell failure, skill check penalities, max DEX to AC, touch & incorporeal touch AC... Armor was prettymuch just a terrible idea, especially heavy armor, unless you
liked being STR-drained by Shadows...
...it would be super nice if a D&D, someday, actually pulled that off, made it so that the armor your character wore became more a function of what they were going to be doing than what choices they made at chargen... I don't expect to live long enough to see it, but, in theory, it'd be nice.