For those who have worked in oil companies or finance companies as coders, are your work over there have more emphasize on algorithm design/analysis or class/library creation/maintenance? Forgive me if this is a stupid question as I don't have much experience in writing codes. And I understand that these two may be inseparable, and that specific-job-dependent. Some background information why I ask this: I'm graduating in about a year or so with a PhD in theoretical cosmology from an in-famous university. After seeing what the graduates from my department has gone through, I finally realized that the hope of finding any postdoctoral positions is minimal, globally. Therefore I began reading some books on coding such as C++ and algorithms, since the oil and finance companies that require these skills are the places most likely to hire physics phds. I was recommended the book Thinking in C++ by my friend. However, now that I've finished the first volume, it seems to me that this book is oriented towards the topic of class/library design. So this brought me to wonder what the work in the real world feels like. Since I would have a physics degree, I imagine that algorithm design would constitute a greater part of daily jobs if those companies would ever offer me a job. Thanks.