@TheDuffmaster to Programmer [email protected] • 7 months agoSwitching to OCaml boisimagemessage-square89arrow-up1413arrow-down125
arrow-up1388arrow-down1imageSwitching to OCaml bois@TheDuffmaster to Programmer [email protected] • 7 months agomessage-square89
minus-square@[email protected]linkfedilink7•7 months agoI 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.
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.