I'm trying to understand what the functional difference is supposed to be.
4e D&D supports a weapon-and-armour, STR-based character who makes an important contribution by buffing and healing allies. And also supports a fast-moving, stealthy non-magical ninja-type who makes an important contribution in the form of battlefield control (blinding enemies, forced movement on them, etc).
Do these contradict the claim about "hard coded role"? Or are they illustrations of it? Does 5e D&D allow these PCs? And if not, in what way is 5e better off for having got rid of "hard coded role"?