by abdullahkhalids · 5y ago · 0 comments
For instance in SageMath, to get the eigenvalues of a matrix M, you have to do A.eigenvalues(). What is that supposed to mean? To a programmer, that means A is an object (in the sense of OOP), and you are calling an internal method on it.
But that's not how you think about mathematics. Mathematics is functional. A mathematician knows that eigenvalues(A) means, to choose an appropriate eigenvalue-finding algorithm and apply it to the matrix A.
The mathematics program should conform to how one should think about mathematics, rather than forcing mathematics students to think like programmers. Mathematica does that.