This is something I've been thinking about for a while and it occurred to me that I don't know anyone who is both good at math and programming (and I know a lot of good and bad programmers).
At uni, I know this guy who switched out of software engineering to do a bachelor of maths because he kept getting excellent results in his maths subjects but kept failing his programming courses. (and he put more work into programming than math)
I'm not saying that it's true for everyone, but I think that there is a definite tendency for people who are good at Math to be crap programmers and vice-versa.
I think it has something to do with intuition. Math requires a lot of intuition, while programming requires that you have no intuition.
Here's my theory on the subject:
When you're programming, it's very important to be fully aware of your assumptions and possible alternatives at any given time; so if you have a bug, you know the weaknesses in your program and you can go and fix them fairly quickly (because you have an idea of where to look).
In math, if you try to keep track of all the assumptions that you make all the time (and the alternatives that you didn't use), then you end up with information overload and ultimately you just lose your train of thought.
What do you think?
Is anyone here both good at math and good at programming?
I'm a very average math students, I get decent results, but I seriously struggle... Exams are like brain torture; when I come out of that exam room, I feel like I've been through electroshock therapy.