You can program comfortably with just about any laptop on the market today, if it's for class you'll want a long battery life, but I would stray from mac, install IOS only if it's required for your course as a secondary OS.
3D modeling is a bit different, for that you'll want processing power and a bit of graphics power, dx11.
I suggest:
http://www.newegg.com/Product/Product.aspx?Item=N82E16834257178If money isn't an issue, look at this:
http://www.newegg.com/Product/Product.aspx?Item=N82E16834257347And if money is really not an issue at all I suggest a high-end workstation from Lenovo.
Note: You'll need to have windows 7 for your courses more than likely.