I really end up frustrated by both extremes of operator overloading in languages and language cultures.
Both the Java approach of "NEVER OVERLOAD THE OPERATORS" as well as the approach favored in #haskell and #ocaml of NO GODS NO MASTERS OPERATOR OVERLOADING FOR ALL.
@hrefna what I like about #haskell's "operator overloading" (type classes) is that it is customary to group operators together and give them laws which give them a coherent meaning across all instances. So you can't just abuse + for list concatenation.
Add comment