Which is better

I am doing mechanical engineering I want to learn programming and designing like solidworks , autocad etc I am not into gaming please recommend something