I think it's ok if a.) the degree is required for the career you want to pursue, b.) the career is well-paying enough that you won't carry student loan debt forever, c.) you still minimize costs, i.e. public school with in-state tuition, and d.) you have absolutely no other way of paying for it...