TheDuffmaster@lemmy.world to Programmer Humor@lemmy.ml · 11 months agoSwitching to OCaml boislemmy.worldimagemessage-square78fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageSwitching to OCaml boislemmy.worldTheDuffmaster@lemmy.world to Programmer Humor@lemmy.ml · 11 months agomessage-square78fedilink
minus-squareCapeWearingAeroplane@sopuli.xyzlinkfedilinkarrow-up0·11 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.