It seems from comments in this thread that you are already back in school, studying, uh, nothing in particular, I guess. If you're sure you're interested in math/computers, then majoring your studies in computer science (possibly with a second major in mathematics) may be a good route.
But no degree recession-proofs your life. You have to do that yourself. Programming work is easily outsourced to whoever does it cheapest (and ostensibly, adequately). Be an engineer; create things, build things, develop things that people actually need or want. Solve problems people have. Focus your career on how you can make others' lives better. That kind of work isn't easily outsourced.
But like bhousel said... we're a bunch of random people on the internet. You know you dreams, ambitions, interests, abilities, etc., way better than we do. Probably, the more specific your questions, the more useful our answers can be.
It seems from comments in this thread that you are already back in school, studying, uh, nothing in particular, I guess. If you're sure you're interested in math/computers, then majoring your studies in computer science (possibly with a second major in mathematics) may be a good route.
But no degree recession-proofs your life. You have to do that yourself. Programming work is easily outsourced to whoever does it cheapest (and ostensibly, adequately). Be an engineer; create things, build things, develop things that people actually need or want. Solve problems people have. Focus your career on how you can make others' lives better. That kind of work isn't easily outsourced.
Read this: http://philip.greenspun.com/ancient-history/professionalism-...
And this: http://www.amazon.com/Thou-Shall-Prosper-Commandments-Making...
But like bhousel said... we're a bunch of random people on the internet. You know you dreams, ambitions, interests, abilities, etc., way better than we do. Probably, the more specific your questions, the more useful our answers can be.