According to billionaire technology entrepreneur Mark Cuban, earning a college degree in computer science might not be the safe investment you think it is.

Today, students who study computer science have a high likelihood of scoring a lucrative job: Glassdoor determined computer science and engineering to be the number one highest-paying major to study in 2017. Meanwhile, students of liberal arts subjects often make far less.