Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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...


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 ‘+’.)




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: