I get this sense that mathematicians tend to focus on abstracting relationships, whereas programmers tend to focus on abstracting objects/entities. Hard to explain though. Like programmers are constantly building models of the world, whereas mathematicians are constantly building new functions and general transformative techniques.