Analog switches, for example, most commonly come in sop/tssop (4051, 4052, 4053 series, etc)
If these (tssop, sop) packages don't have a ground plane, wouldn't that mean that - on a 2 layer board (any layer board for that matter!) - it would be best not to route under sop/tssops/LQFP packages if possible, but have unbroken top layer groundfill section exactly underneath those ICs?
And if necessary to route signals via bottom 2nd layer plane, if they have to cross the IC?
then you should be using at least a 4 layer board. There's no reason not to.
I'm very cost sensitive. The difference in price isn't big, but it's still there for larger pcbs.
All I can do is go from 1.6mm to 1mm pcb thickness which doesn't change price. (if the pcb isn't subject to significant mechanical stress)
The images of "leadframes" (see-pic attached) give a good idea of how to reason about this. If there is "ground plane", it looks like it's only right underneath the die which makes up a very small area of the whole package, and the very lengthy leads are mostly uncovered by anything.
The DIP image makes the most extreme example, but it looks like it's safe to assume that most legged packages will have very, very small silicon die, and the leads will take up rest of the area.
I feel like I have a tiny bit better understanding of this now.