In the early days of computing (that is, when computer companies and universities were finding the first people to learn programming) music experience was a strong signal for programming ability! Playing music prepared them for focusing on the low-level details while holding the big picture in their head. [0]
[0] The Dream Machine by Waldrop