Initially, I did misread the question and deduced that he wanted to get into data science. Normally, if you have no idea what you're doing, CS can sometimes be better. But, in this case, I don't agree.
CS as a degree in many universities, lacks a lot of math. It lacks calculus, probability theory, linear algebra, which are all important concepts for Machine Learning, Statistics, Data Science, Computer Graphics, AI, Security/Cryptography, etc.
Without that math, you are limited to roles specifically in software development, as you'll lack the mathematical background to pursue more rigorous adventures.
As the OP doesn't know exactly what he wants to do, not having the mathematical background could limit him from actually getting into Complexity Theory, Automata Theory, Complex Networks, Data Mining, Big Data, among others, because they do include math, particularly Discrete Math, Calculus and Linear Algebra.
Even as you say, if CS is "better", he wouldn't be able to pursue those topics to a great depth anyway, as he would be limited by his mathematical background - a consequence of his CS degree teaching little math.
As stated above, having a greater mathematical background means that one would be able to pursue jobs other than Software Development that heavily involve math. That means, even if he studies a greater array of topics in CS, he may struggle in a majority of them (like Complexity Theory and Information Theory/Networks) because he wouldn't have the sufficient mathematical background to study them. Regardless of whether that information be have a benefit, he would be disadvantaged in that area.
The original implication here was: you suggested that you shouldn't do Data Science because CS is better and more general. Yet, simultaneously, Data Science covers a lot of the core concepts of CS, while teaching a lot of math that is necessary for other fields. Therefore, I said that Data Science is an equally valid and recommended degree like CS is, especially if you're only pursuing a role in software development - then the reality is, it doesn't matter which CS you pursue, they all lead to software development roles anyway.
The link you provided specifically focuses on Data Science master's degrees, not bachelor's degree. I'm sure you're aware: they are not the same. But, in the event you're not familiar, let me inform:
At UCL, their MSc in Data Science mostly covers (majority) statistics, with a bit of data science. That's largely different from a BSc in Data Science at UCL, where it offers databases, calculus, programming, algorithms, so it is widely different. There's little point in linking articles for a MSc, when we are discussing a BSc, which is completely different.
Secondly, about the post you linked, you also contradicted yourself. In your first post you said:
While posting that, you also provided a link on Medium, that didn't recommend a MSc in Data Science. So, you are recommending someone to take a MSc, that you've linked to a resource, for not recommending. Quite the contrarian.
I'm sorry, but this is actually the opposite for what you're saying.
Firstly, if a data science degree offers the same programming and algorithmic skills as a CS degree, but a CS degree offers Automata, Complexity Theory (Which you can still choose as an option for some Data Science degrees), then how would you be disadvantaged in any way, shape or form. You have the same software development skills as any CS student. Every Data science student in the world, will be equally as good as a developer as any CS student.
Some may argue, a data science student is better. Not only do they have all the programming skills of a CS student, but they have the mathematical skills, the knowledge of calculus to get into data mining, the knowledge of statistics to get into machine learning and data science, the knowledge of linear algebra to get into big data, cryptography, and others. Data Science students learn R, and ironically enough, learn more programming than actual CS students in some cases.
As a CS student, you lack the mathematical background. You cannot get into cryptography; ML is almost impossible; AI is a no go; Data Science is also a no-go with no probability knowledge. Data Mining without calculus is impossible. The only exception to this, is if you attend a top 5/10 university (like Oxbridge, Imperial, UCL, etc) that teach you that math as part of the CS degree, but vast majority of CS degrees don't teach you that math.
Learning a master's in Data Science anyway requires a lot of mathematics that you don't have as a CS student. You will struggle in computer graphics among other fields like Information Theory.
There's no use in considering Automata Theory or Complexity Theory at a research level if you don't have knowledge of linear algebra or mathematics
In summary, I would say both CS degrees and Data Science degrees are perfectly fine, but I would say Data Science could be slightly stronger with the extra math.
If I had to say which is the "best" overall, I would say a Computer Science and Mathematics degree (50/50), as that will teach you all the CS skills you need, while teaching you all the mathematics skills you need to be successful.