393
Switching to OCaml bois
(lemmy.world)
Post funny things about programming here! (Or just rant about your favourite programming language.)
I would argue that there are very definitely cases where operator overloading can make code more clear: Specifically when you are working with some custom data type for which different mathematical operations are well defined.
Yeah, that's a very useful exception.