The mage profession in "Dragon Age: Shadowkeep" is a very fun and powerful profession in the game, and the characteristic of the mage profession is that the legality of mages and the dangers they bring usually drive the development of the game. If If you don't like to play long-range, I don't recommend mages.
What are the characteristics of the Shadow Barrier Mage profession in Dragon Age
For some, playing as a mage is the most "Dragon Age" class in Dragon Age. The legitimacy of mages and the danger they pose usually drives the game, so playing as a mage is often the best way to experience the world. However, this is not the case in Dragon Age: Shadowkeep. Therefore, unless you particularly like this ranged play style, we do not recommend picking up the Mage.
Because Shadowkeep leans more toward action-based combat, you'll often find yourself in the center of the action. This is not a good position for a mage. It has three specializations - Necrocaller, Summoner, and Spellblade, but only the latter is particularly effective in melee combat. Mage is also the only class with three companions, so all three areas are covered, with two of the first three recruited members being mages.
Although Belara is an electric mage, her focus on long-range archery combat makes her playstyle very different from that of a spell swordsman.
Overall, being a mage is a unique flavor, and most players will probably end up choosing a spell swordsman, which means they'll perform better as a ranger. Mage doesn't fall into the "definitely avoid" category, but it is the most different from the other two classes, and you should be aware of this when entering the game.