You said fantasy worlds, not D&D. You said fantasy worlds have classes that fall into a certain slot. That's what I was responding to.
Those are archetypes not classes. The Knights of the Round Table, the Peers of Charlemagne, the Three Musketeers, etc didn't all have the same capabilities...