@TheDuffmaster@lemmy.world to Programmer Humor@lemmy.ml • 1 year agoSwitching to OCaml boislemmy.worldimagemessage-square90fedilinkarrow-up1419arrow-down124
arrow-up1395arrow-down1imageSwitching to OCaml boislemmy.world@TheDuffmaster@lemmy.world to Programmer Humor@lemmy.ml • 1 year agomessage-square90fedilink
minus-square@CapeWearingAeroplane@sopuli.xyzlinkfedilink7•1 year 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.
minus-square@englislanguage@lemmy.sdf.orglinkfedilink1•1 year agoYeah, that’s a very useful exception.
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.