freddo@feddit.nu to Programmer Humor@programming.devEnglish · 8 months agoOOP at home:feddit.nuimagemessage-square89linkfedilinkarrow-up1287
arrow-up1287imageOOP at home:feddit.nufreddo@feddit.nu to Programmer Humor@programming.devEnglish · 8 months agomessage-square89linkfedilink
minus-squareAudaciousArmadillo@piefed.blahaj.zonelinkfedilinkEnglisharrow-up17·8 months agoIt works great for technical constructs. E.g. A Button is a UI element. But for anything business logic related, yeah it’ll suck.
minus-squareFooBarrington@lemmy.worldlinkfedilinkarrow-up7·8 months agoEven then there’s rarely a good reason to use inheritance instead of composition.
It works great for technical constructs. E.g. A Button is a UI element. But for anything business logic related, yeah it’ll suck.
Even then there’s rarely a good reason to use inheritance instead of composition.