IANAPOSE (I am not a philosophy of science expert) but I think a happy medium is to observe, collect data, and look for things that are interesting, and then perform properly formulate experiments to test those hypotheses.
I think that focusing on either side alone can lead to biases and problematic science, and focusing on both is actually the most "fun"