Hacker News new | ask | show | jobs
by tbenst 1292 days ago
Arguably from a mathematical perspective, the choice of ‘+’ is poor as it implies that the operation is commutative when it’s only associative. Julia used “foo” * “bar” for this reason: https://groups.google.com/g/julia-dev/c/4K6S7tWnuEs/m/RF6x-f...
1 comments

Then the length() function would be a logarithm...
(For the benefit of those who did not get the joke: a logarithm is a homomorphism from ‘*’ to ‘+’.)