Music and software development
Early in my career, I would always ask the people I worked with if they played music. More often than not, the answer would be yes! It was so common that I stopped asking if they played music, and asked what instrument they play.
Why is it so common for software developers to play music? I'm not sure, but if I had to hazard a guess, I'd say it uses and develops the same skills needed in that line of work. Arts in general will help you learn faster, solve complex problems creatively, and think outside the box.
Scientifically, there are no direct links between playing music and becoming a better software developer. However, many things musicians do can translate directly to the software development world. Here are three of them, in no particular order.
Break large projects into more manageable bite-size parts
The same way a musician would learn a new piece, software developers need to break up large projects into smaller chunks. Musicians will learn a few measures at a time and put them back up to produce the entire song. Software engineers will break up large projects into modules, features, and functions they can develop and test before putting them all together to produce the finished product.