3 ms·
I guess it originated from my synthesis of the article. The article gives an example: copy() bad, copyFrom() good. The single word "copy" doesn't imply which s
by js8 7y ago
I guess it originated from my synthesis of the article.
The article gives an example: copy() bad, copyFrom() good. The single word "copy" doesn't imply which side is which, it is kinda "symmetric". However "copyFrom" does show the side, it is kinda "asymmetric". I just considered symbols instead of words as method names. (After all, if we are to make things shorter.. TLDR is a double joke here.)
And yes, you're correct, in mathematics, this is often not the rule. It's not even a rule in Haskell. But perhaps it could be a rule, at least for new operators?