|
|
|
|
|
by vlasev
3612 days ago
|
|
Your assessment is somewhat unfair and kind of misguided. The differences between math and programming are quite large. I think there are two main reasons for why we have symbols in math and more verbose expressions in programming. 1. Medium. Math is mainly done with pen/pencil on paper, or chalk on a blackboard, or marker on a whiteboard. Programming is mainly done with keyboard on a computer. Those media are quite different. In a way, it's about ease of input - it's easier to write out a longer name with keyboard than with a pen. 2. Nature of the activity. A lot of math boils down to manipulating expressions given rules. It involves a lot of scratch work with a lot of backtracking and trying new things. A lot of programming boils down to easily reading and writing code and reasoning about how things work. Imagine writing "integral from a to b of f(x) dx" or "integral(f(x), x, a, b)" by hand a hundred times vs in an IDE and you'll see what I mean. |
|