Yes it is marketable and worth it. Look at the majority of software engineer or software developer position advertised online. Most of them want people with CS background.
But beyond having a degree, you should at least have command of programming beyond theoritical knowledge in algorithms and data structures etc.
My advice is, be a great CS students and learn what you taught in UNIVERSITY and be an excellent self learner and build things in your sparetime. Therefore, after graduation you have both a CS background and practical skills of development.
Goodluck….