by Rod · 17y ago · 0 comments
Truer words have never been written. Various friends of mine who are former mathematicians / physicists now working as quants do rock at stochastic calculus, but suck at C++. Maybe a solution would be to separate the coding tasks from the modeling tasks. A friend of mine recently took a quant position at a hedge fund, and while he gets to do a lot of modeling and data analysis, the actual implementation is carried out by a 1st rate coder with whom he works in tandem. That sounds very smart to me...
I am not supplying a guess now, because this comes as a total surprise.
I'm not very good at math but I'd prefer working through a trigonometry textbook to working on another ruby on rails website.
The type of programming and the language matter a lot. Most PhDs despise programing because of the problems they encounter in the professional sphere: most numeric programming focuses on details (numeric behavior of algorithms, efficiency in speed and memory use) that most researchers would find boring. A cutting-edge algebraist doesn't want to spend his time cutting clock cycles off of a vanilla matrix multiplication, nor does an academic analyst ("analysis" being a specific field of math, as in real/complex analysis) want to spend his time fretting over the (often jarring and unpredictable) discrepancies between floats and real numbers. There are people who love those kinds of problems, but they're rarely research mathematicians.
I find cutting clock cycles quite gratifying. Admittedly there is less math in that than having a bottom-up understanding of what's going on. But you could also reframe it like any other optimization problem, given some number of inputs of a certain type. You can also prove your solution correct. It is a math problem all over.
Is it safe to say that those that despise programming, also despise certain branches of math?
I should add a little story. I once asked one of my friends who is very gifted in math why he prefers CS instead of pure math. His answer was something like: CS is the only field where mathematical truths can be immediately applied to reality (within the machine). It's a good balance between limitless mental masturbation and unpredictability of nature.
Speaking strictly for myself (physics grad), it's easy for me to get caught up in some sort of interesting data analysis, but programming can be a bore because it involves so much extra stuff. I firmly believe that this is the reason software like Matlab survives: not because its analysis functions are faster or better, but because it tends to push everything but the math and visualization out of the way.
Writing code requires knowledge of code conventions, syntax, and as importantly, the libraries. This is a declarative/episodic memory task, less so of working memory, symbolic manipulation, and abstract reasoning task. The latter traits are dominatingly important in math/physics. In coding there is a mix of the two, with the former taking precedence after the program logic has been deduced.
Which brings about the next question. The mathematician part cannot be learned merely through patience, but becoming expert at a language can be. Now, why is it that your brilliant math/physicist friends cannot become such experts? Do they lack the patience? Or, does coding simply not "click" with them? Is there a causal relationship? Now my intuition says there is none, and so we are back to square one: it is perplexing that they are not good programmers, unless there is some personality reason behind it.
It doesn't help that they're trapped in C++ and an environment that rewards guts-'n'-glory over finely crafted code.