4 ms·
Well the parent comment seemed to claim that C syntax is more based on mathematics than Haskell. I don’t want to comment on what is better. Mathematicians tend
by dan-robertson 6y ago
Well the parent comment seemed to claim that C syntax is more based on mathematics than Haskell. I don’t want to comment on what is better. Mathematicians tend to care quite a lot about notation and finding good notations but that notation typically doesn’t have to last very long or travel very far.
People tend to take it for granted that having very variable situation specific notation is bad but I don’t think it’s obviously true.
I certainly don’t think it’s obvious that programming language syntax should be based on the kind of high school algebra notation people are familiar with because that notation is mostly useful for manipulating sums of products of variables raised to powers, and one-argument functions thereof. I don’t think programming fits that category or that addition and multiplication are particularly important operations in programming.