I’ve long maintained that music composition and computer programming have a •huge• overlap in the brain, at least in my own experience — and that overlap has something to do with spatial relationships.
Interesting remarks on the topic from @adamshostack: https://infosec.exchange/@adamshostack/113901574936360113