Personal story, sorry if I ramble a bit (I put things in footnotes when it really became a huge tangent), I don't have time to edit to make it short and snappy.
---
I agree with this, I didn't take this approach and I'm regretting it (in a way). I'm in the computer science camp and just trusted that my education in it would be fine. Instead, I studied other things on the side (working on the side as a TA and studying psychology were my side projects and in my final years web dev, which is how I know what I've missed in my early years).
The trade-off is a tough one though: studying psychology and being a TA made me a much more well-rounded person. I have so much more confidence in my social skills. I would not have gotten that if I'd have teach myself coding on the side as well, not even if I'd do freelance projects on the side as well [1].
Not learning how to code as a web or app dev really limited my growth because of a lack of context. Discovering HN 3 years ago saved me a bit from it [2]. Now that I do have some context, I can more easily see how abstract topics such as theoretical CS or algorithms are important as they force you to simulate code in your head and not rely on a debugger! But I could only gain that context by teaching other people JavaScript and realizing that in the beginning stages, learning algorithmic thinking is the toughest still to become a web developer [3]. If I'd have learned web dev or taught web dev earlier on during my studies, I'd have understood the importance of abstract CS topics.
Instead when I learned them I was bored out of my mind and it was such a shame that I was, I shouldn't have been bored. I should've been fascinated, because it is fascinating. Unfortunately, I couldn't see it at the time.
But hey, at least now I can!
[1] Because just like computer science, psychology taught me something formal that I needed to learn but wouldn't be able to learn on my own which is: how to detect nonsense when people talk about the science of human behavior. I need a lot of formal training on human behavior, so knowing how to distinguish a good vs a bad learning source is of paramount importance, especially because about 1 in 20 resources are decent and the other 19 will make you worse off.
[2] Because it taught me general industry concept simply by reading the front page while also keeping my interest high in other topics.
[3] Almost everyone has some eye for design, so they are able to have that as a reference. HTML and CSS basics are always easy enough to learn for people. Where they struggle is with JavaScript and mostly stepping through code. The people who are mathematically inclined are the only people who will learn the basics quickly.