4 ms·
> I think overloadable and definable operators can be very useful (like Haskell, OCaml), and that's probably as much syntactic flexibility as we need. Even this
by mcintyre1994 8y ago
> I think overloadable and definable operators can be very useful (like Haskell, OCaml), and that's probably as much syntactic flexibility as we need. Even this can be abused though.
I remember being very concerned about the performance of some Ocaml code that was overriding (* *) until I realised what it was doing :)
Not sure how to type that on HN!
- Jtsummers 8y agoUse a code block: (* *) Then the asterisks show up as literals. Two leading spaces for each line in the code block.