A lot of 'coder-first' programmers might see themselves at a disadvantage in job prospects in the future, especially compared to a math, stats, engineering, chemistry, physics, biology, history, geography, accounting, business, or any other majors really, who not only know how to code well enough for most jobs, but most importantly, how to apply their knowledge of programming to unique problems in their complex field.
A lot of other fields do a great job at training you to be an independent investigator first and foremost, specific knowledge second. This is one of the shortcomings mentioned to me from my friends who graduated with CS degrees: a lack of solid reinforcement on hypothesis driven analytical thinking especially, and too much emphasis on algorithms they never used again once they passed that particular exam.
A hiring manager therefore might take the polymath who knows programming over one of the thousands of applications they get every year from dime a dozen computer science graduates with great grades from a big school and some random capstone project on their github.
Sadly not my experience in the UK - it's all top grades in maths/physics/comp sci, x years experience on x ridiculously long and highly specific list of technical skills.