My friend Li Lei, a full-stack developer in Shanghai, did not major in computer science or mathematics for his undergraduate or master's degrees.
I've found that people from different fields support the idea of learning-by-doing.