Tomatoes are probably about the worst example you could pick. Fresh tomatoes can be excellent (though I'm really not a tomato aficionado) during the short period when they're in season locally in much of the US. Outside that period, the recommendation for cooking tomatoes is generally to use canned because tomatoes are an example of something that doesn't ship well.
When I worked for an indoor-ag company whose big deal was picking varietals for flavor, rather than ability to travel across the country, I always pointed to how much tomatoes had changed in my lifetime as to why travel-ready produce was a problem.
Remember when toothbrush advertising demonstrated how the brush was so soft it wouldn't affect a tomato, let alone your gums? That demonstration makes no sense now.
That assumes you care enough about tomatoes to grow them. My local farmstand probably does a better job than I could when they’re in season which is true of most of what they sell.