I met a master of music once, he did mainly math and algorithms at his current job.
He said, he didn't think this would go hand in hand, but after he saw some algorithm stuff from a friend he was surprised how easy it was, so he switched from composing to coding algos.