^^ the tomatoes I used to buy from the store were tasteless, maybe hydro. Or picked too early. Grow my own now in soil.
Almost certainly not hydroponic, and I don't think this is a good comparison.
Good tomatoes are soft, and therefore fragile and don't transport well over long distances. For the best flavor they also need to picked either ripe on the vine, or just right before (by a few days). As a result truly quality tomatoes generally only make it to local (ie farmers) markets.
In contrast, commercial growers deliberately pick tomato cultivars (strains) that have tough flesh, so they will be resistant to damage during transport, and pick them early so that they have time to ripen over transport (in many cases artificially with exposure to ethylene gas).
So the tomatoes you're going to buy on the shelves of any supermarket are always going to be inferior to home-grown ones, even if picked properly. That's the nature of that crop's market and it has nothing whatsoever to do with hydroponics, per se.
My point was about taste or potency of buds. No better in hydro and usually worse.
Again, you can't generalize what happens with commercial tomatoes to cannabis flowers.
Lots of people truly believe that hydroponically grown vegetables taste better than farm grown ones, and I think if you were to try growing hydroponic tomatoes with your own strain, picking them at peak ripeness, you'd at the very least think there were better than ANYTHING you could buy in any store (if not better than the same exact strain grown in your backyard).
Edit: I'd add that you can grow your hydro tomatoes indoors in the winter, and even if they aren't quite as good as your outdoor grown organic ones, they'll still beat the pants off of anything you'll find on any grocery shelf anywhere from Oct-Feb.
The same thing is true, to a large extent, with hydro. People growing hydro bud commercially for illegal sale are often under the same sort of pressures as commercial tomato growers. They're looking for max turnover, so they'll pick strains that give fast harvests and max yield rather than concentrate on strains that give best flavor and potency. They're not picking individual buds at max ripeness, they're not going to be meticulous about flushing, and they'll also often skimp on drying time and curing. So sure, commercially grown hydro stuff often isn't as good as home grown organic.
However, my experience is that if you compare "apples to apples" grows of the same exact strain grown expertly via hydroponics (including proper flush and optimal cure) vs stuff grown organically under the same artificial lights, the two are nearly indistinguishable from one another to the point where I'm not really sure blinded "experts" could reliably tell the difference.
Empirically, if you look at the stuff that has the highest potency in terms of actual lab testing, most of this actually is grown hydroponically. Again, I don't think this is because the hydroponic growing itself makes the weed stronger, but its just a statistical byproduct of the fact that its the medical stuff that's being tested the most, and this is mostly grown hydroponically. I have seen no empirical evidence to the contrary that hydroponic weed is any LESS potent than organically grown, with both grown indoors.