Not at all, programming is mind-stimulating. By doing it, you don't just invent, but you discover how to create new things. So it's a combination. But for the most part, it is a way to satisfy the need many people have to solve problems. Why do people like puzzles? Because many people like to solve problems. Hobby programming falls in the same real.
The way I see it, neither says anything about majoring in science. That decision is all related to what you would like to learn in school and where you want to work in the future.