I would definitely recommend students have interests and passions outside of their career. The best and most successful lawyers in my opinion are people who are well-rounded, perceptive, interesting and diverse.
Throughout my time working at Empired I have met many developers with unique backgrounds including engineers, mathematicians and even someone who studied languages at university.