TheDuffmaster@lemmy.world to Programmer Humor@lemmy.ml · 4 months agoSwitching to OCaml boislemmy.worldimagemessage-square85fedilinkarrow-up1404arrow-down125
arrow-up1379arrow-down1imageSwitching to OCaml boislemmy.worldTheDuffmaster@lemmy.world to Programmer Humor@lemmy.ml · 4 months agomessage-square85fedilink
minus-squareeestileib@sh.itjust.workslinkfedilinkarrow-up71arrow-down2·4 months agoObjects are fine. OOP sucks.
minus-squareerp@lemmy.worldlinkfedilinkarrow-up2·4 months agoInheritance starts to suck > 1 level deep. Multiple inheritance starts to suck at the point people discuss adding it to a language, or a few femtoseconds after the big bang, whichever comes first.
minus-squaredrolex@sopuli.xyzlinkfedilinkarrow-up1·4 months ago{ /*Todo: comment*/ private: bool b_itSucks; public: bool doesItSuck(return True); //FIXME }```
Objects are fine.
OOP sucks.
Inheritance starts to suck > 1 level deep. Multiple inheritance starts to suck at the point people discuss adding it to a language, or a few femtoseconds after the big bang, whichever comes first.