This. If I didn't eat solo in restaurants, I'd probably never eat outside of my own home or AirBNB rental.
If solo (US/Canada) I always prefer the bar, even if it's a high-end restaurant. That frees up a table for parties of two or more. Sometimes I get irritated if the bar's full of couples or groups of three and I'm going in solo looking for dinner - but that's my own issue to deal with. The train is probably my biggest exception to this preference; I generally don't mind sharing a table on the rails unless I'm explicitly seated alone by dining car staff.
I usually get caught out while dining in Europe, as bar seating at restaurants can be non-existent and some cultures share tables. I'm just not used to sharing tables except if I'm on the train, and because it can be inconsistent I'm never sure if I'm supposed to share a table or not. (Sharing tables is almost always an outdoor-seating thing, or in situations where you're eating at a long picnic table or public food hall.)