I tried asking this same question here previously but worded it poorly. Please let me know if my muddled style is unclear to anyone alongside myself.
What I'm essentially asking is: all else being equal, does an advanced degree (MS or PhD) in Math and/or Philosophy (phil of math, or logic) provide one with any "smart points" such that it translates to a merit in itself on the job market, particularly in the context of programming jobs, which would be, as of now, the type of non-academic job I'm most interested in? So, e.g., if there were two self-taught coders with identical coding skills, one of whom has no Uni education while the other has a PhD in Math, would the latter be more attractive to potential employers, all else about them being equal? What if each of them had Bachelor's degrees in CS, while only one had the advanced Math degree, would the additional "smart points" of the Math degree then be irrelevant? How much do "smart points" or reasoning ability and critical thinking skills, as conveyed by such a degree, mean to employers in industry?
As you might have guessed, I'm a Math and Phil undergrad. I genuinely enjoy both subjects and would like to study them at an advanced level for their own sake. Yet, I do think about having to buy food and shelter one day. So, is such a degree worth anything on the job market, simply due to being one in a highly abstract and logically rigorous subject, or would the two hypothetical job-seekers described above be considered to have equal merit due to their perfectly equal domain-specific knowledge?
(And I guess that on that note I'll just add: assuming I go on to get a PhD in one of those subjects, should I just bite the bullet and get a Bachelor's in CS as well? How meriting would that be as compared to self-taught programming skills?)
PS I understand that this is Stack Academia and not Stack Career Experts, and that answering my question scientifically would require empirical data from the world of industry. But I'd be happy to receive intelligent guesses from intelligent people. I think it'd be interesting to explore the collective beliefs of employers a little.