He told me that he thought knowledge about computers had a shelf life but knowledge about physics was eternal.
Math in particular has that element of universality (can't believe that intelligent aliens wouldn't know about the integers, Pythagorean triangles, etc.) For that matter, there are aspects of computing that are universal too because they are math.
Generally speaking, mathematicians view programming as one of the tools to use in their professional endeavors, not as a thing of interest in and of itself. Just as programmers view mathematics as one of the tools to use in their professional endeavors, not as a thing of interest in and of itself.
Are they bad at mathematics or do they just not like it?