freddo@feddit.nu to Programmer Humor@programming.devEnglish · 7 days agoOOP at home:feddit.nuimagemessage-square88fedilinkarrow-up1343
arrow-up1343imageOOP at home:feddit.nufreddo@feddit.nu to Programmer Humor@programming.devEnglish · 7 days agomessage-square88fedilink
minus-squareValmond@lemmy.dbzer0.comlinkfedilinkarrow-up1·3 days agoStill does, but you don’t have to. So you haven’t had much experience with oop?
minus-squaretatterdemalion@programming.devlinkfedilinkarrow-up1·3 days agoI have used OOP design patterns many times, but that doesn’t mean I use inheritance a lot. I almost always reach for interfaces instead.
minus-squareValmond@lemmy.dbzer0.comlinkfedilinkarrow-up2·2 days agoWell then I understand why inheritance isn’t your thing, I yet have to see an interface in need of inheritance.
Still does, but you don’t have to.
So you haven’t had much experience with oop?
I have used OOP design patterns many times, but that doesn’t mean I use inheritance a lot. I almost always reach for interfaces instead.
Well then I understand why inheritance isn’t your thing, I yet have to see an interface in need of inheritance.