Well if you are taking computer science I think you will have to use Windows at some point during your studies. So you will need to run Windows in a VM or natively using Boot Camp. You will need to use several programming IDEs, most of which are Windows only.
I've owned two Lenovo computers and one when it was still called the IBM ThinkPad. Of all the computers I've owned, and I've owned many, the Lenovo's had the best keyboards, IMO. But they had the worst displays. All of them suffered display failure within three years. One I dropped at the airport so I did not count that one.
I have a Lenovo running here beside me as I type this on my rMBP. The Lenovo has been running Linux, with an external monitor since the Lenovo display stopped working some time ago. It is running Linux 24/7/365 and I never have any issues with it.
I also have two MBPs. One is a rMBP. I have no problems with either. I run Windows for work on both my 13" and my rMBP and Windows performs well on both.