Having done a math PHD and now working as a programmer I find math proofs and programming semi-similar. Though I think programming is less “relaxing.” In mathematics if you have an argument that works and isn’t insanely complicated you can call yourself victorious. You can look for a simpler method if you want but there is really no imperative to do so. In programming there is almost always a better way to solve a given problem and the differences in speed matter alot.
My two cents: I studied math pretty intensively on my own and later started programming. To my pleasant surprise, the thinking style involved in math transmitted almost directly over into programming. I’d imagine that the inverse is also true.
For me, optimizing code (both style and performance) can, at times, almost feel like gardening (aka relaxing and theraputic). On the other hand, I really like math, yet I’ve generally found that it requires WAY more effort than programming.
Perhaps this is why you have a math PhD and I don’t ;-)
I have a mathematics PhD and have worked in academic research, industrial mathematics and software development. I agree with Princess_Stargirl that mathematics and programming feel quite similar, but for me mathematics is less relaxing because it’s harder. Yes, it’s great when you “have an argument that works and isn’t insanely complicated”, but until you get one you don’t even know that it exists. Which is stressful if your pay, or reputation, or career prospects, happen to be governed by your success in finding such things.
(Whether, and how far, the same is true in programming depends on exactly how you define “programming”. If you take it to mean the whole process of going from nothing at all to high-quality software, then it does share that characteristic with mathematics. But the very researchy open-ended work is a smaller fraction of programming than of mathematics, and there are people happily and productively employed as programmers who do scarcely any of it at all.)
In programming there is almost always a better way to solve a given problem and the differences in speed matter alot.
Do you mean development speed or execution speed? Either way, I’d guess it depends a lot on the application you’re working on and/or the culture of your organization.
Having done a math PHD and now working as a programmer I find math proofs and programming semi-similar. Though I think programming is less “relaxing.” In mathematics if you have an argument that works and isn’t insanely complicated you can call yourself victorious. You can look for a simpler method if you want but there is really no imperative to do so. In programming there is almost always a better way to solve a given problem and the differences in speed matter alot.
My two cents: I studied math pretty intensively on my own and later started programming. To my pleasant surprise, the thinking style involved in math transmitted almost directly over into programming. I’d imagine that the inverse is also true.
Indeed, many people cross forward and backward between the two.
This is a fascinating perspective.
For me, optimizing code (both style and performance) can, at times, almost feel like gardening (aka relaxing and theraputic). On the other hand, I really like math, yet I’ve generally found that it requires WAY more effort than programming.
Perhaps this is why you have a math PhD and I don’t ;-)
I have a mathematics PhD and have worked in academic research, industrial mathematics and software development. I agree with Princess_Stargirl that mathematics and programming feel quite similar, but for me mathematics is less relaxing because it’s harder. Yes, it’s great when you “have an argument that works and isn’t insanely complicated”, but until you get one you don’t even know that it exists. Which is stressful if your pay, or reputation, or career prospects, happen to be governed by your success in finding such things.
(Whether, and how far, the same is true in programming depends on exactly how you define “programming”. If you take it to mean the whole process of going from nothing at all to high-quality software, then it does share that characteristic with mathematics. But the very researchy open-ended work is a smaller fraction of programming than of mathematics, and there are people happily and productively employed as programmers who do scarcely any of it at all.)
Do you mean development speed or execution speed? Either way, I’d guess it depends a lot on the application you’re working on and/or the culture of your organization.