I had the same realisation a few years ago. I switched from CS to math and physics. It is definitely more challenging but I do not regret the switch. Plus I discovered math can be quite fun.<p>Most of the most challenging software requires domain knowledge that CS&#x2F;software devs do not have. Ultimately it is easier to go from a math&#x2F;physics background to CS&#x2F;software development than the other way round.