Remix.run Logo
▲ somethingsome an hour ago

While I like your dichotomy, I find more similarity between maths and programming.

you usually define the internals of your mathematical object based on the requirements of the 'rest of the system' and then you study the objects a lot to see it they even make sense or collapse.

As soon as you have an object that does not collapse, you know you can use it.

Take for example measure theory, you start with the basics axioms that are there to make the measure useful to others, then, based on the axioms you derive everything that you need to ensure that it's well defined, and then some more theorems that are like glue code to be able to use that measure for particular cases.

In this view, the axioms are your basic API, and the 'glue' theorems for an application are your frameworks.

Now a big difference between maths and programming is that maths is way bigger and more complex though