The average student loan debt in the US is about $30k. That's a little less than the price of the average new car sold in the US in 2017, and it's quite a bit less than the first year of salary for a graduate with a CS degree.
You can get a good education that prepares you for a high-paying career for less than the price of a Toyota Camry with leather seats. That seems to me like a fantastic deal.