Writing a good mathematical proof is similar to writing good code. Pure math has much more in common with software engineering than data science.