Hydro may yield more "product" once you serve your apprenticeship in "hydro-ology", which can take years, but for quality, you can't beat sunshine and soil.
I have been growing in soil for 35+ years and find indoor hydro "product" disgusting and an offence to my senses. These days I refuse to even think about ingesting anything hydro. I see too many friends with weird coughs and horrible lung inflammations each and every winter from smoking that stuff constantly. I also, when I did smoke it, found it as not being the "whole package" with disappointing effects that were missing "that something" that comes from sunlight and that can not be replicated with electric lights. Most of my friends think I am a "bud snob", but I am not going to ingest something that has been grown with dubious chemicals by people only interested in making "product"/profit and not flowers so fine that they should be cherished and that were grow in gardens with love.
If you are mainly interested in "commercial" turn-over, hydro is the go, but invest big in your lights, very big, they are the most important factor in cannabinoid quality. If you are after tasty buds to boast about and made with love, grow with soil, but again, if indoor, invest big in lights.
Either way, there are no short cuts, learning is a life long process, with lots of mistakes mixed in with the successes. I still learn every time I grow, even after decades doing this for purely medical reasons. If you are after meds, outdoors, in soil, sun and organically is THE only way.
Hope this helps,............
Organoman.