How can I balance academics and my programming career

Okay , so I’m an undergrad studying computer science in a non-us college ,so forgive my English. I was wondering how possible is it to balance academics and a serious programming career while in college without one affecting the other like I want to b…