Hacker News new | ask | show | jobs
by yyyk2 1317 days ago
> how come math notation relies heavily on infix operators and even subscripts, superscripts and more?

"Mathematical notation" is an ad-hoc compilation of a huge number of historical accidents, conventions and personal preferences. For each function in math, there's at least 3 different notations for it, and somehow each of your professors ends up using a different one. And to counter your argument, prefix operators appear very frequently in mathematics, including the most common function notation (although of course there's also a postfix and an infix notation), sigma notation, quantificators, roots, and many other common operators.

By the way, your second example should be (print a b c d), I'm not sure why you made a,b,c,d functions there.