Agreed; these discussion always seem to assume that spell casters are optimized for every encounter, when that is patently not the case. In fact, I think it is the fundamental design difference between spellcasters and martial classes: martial classes are optimized for most encounters but their options are relatively limited, while spellcasters are non-optimized for most encounters but their options are relatively vast.
Are we talking combat or one of the other pillars?
Regardless, 5e spellcasters have Plenty of general spells that apply to multiple situations. A 5e caster doesn't have to put all of their eggs in a particular basket - they can be decently prepared for an array of things.
And how exactly are martials "optimized for most encounters...?" I can see it with rogues between decent combat ability and good skills a rogue can do well in all three pillars (especially if the DM isn't being stingy with allowing skill use).
But fighter? Outside of combat, where I'll agree fighters are optimized in their relatively limited shtick (but it can be a good shtick), How are fighters in any way optimized? A player has to make some difficult calls for a fighter to even be able to contribute in social and exploration (often sacrificing a bit of combat effectiveness), something casters generally don't have to worry about.
Last edited: