Funny how those of us who didn't spend more than a couple years in school think the rest of the years are probably a waste, and those that did spend a lot of time and money in school think it was useful.
I have a BS in computer science. I felt like less than 25% of it actually made me a better programmer. At least 25% of it was a total waste of time. The rest was stuff that was maybe academically relevant or interesting to me at least, but of dubious value given the time and financial costs.
I spent 6 years in undergrad (3 for MechE, 3 for Econ). I think it was a waste in terms of my career (which is SWE). I enjoyed college from a social perspective, but there were way cooler things I could've done with $15,000/yr
I had a BA in business and wanted to get into tech field (no idea what, at the time). Decided to get MS in Information Science. That helped me get an internship which enabled me to add some tech-related experience to my resume which was a jumping off point that launched my tech career. My feeling about getting a MS at this point is that it was gatekeeping. I could have done that job pre-masters and everything I've learned about programming has been on-the-job training or self-directed.
I have a degree. It will go down as the biggest regret of my life and my life has changed drastically simply because I thought getting an education was good for society.