freddo@feddit.nu to Programmer Humor@programming.devEnglish · 6 days agoOOP at home:feddit.nuimagemessage-square88linkfedilinkarrow-up1344arrow-down115
arrow-up1329arrow-down1imageOOP at home:feddit.nufreddo@feddit.nu to Programmer Humor@programming.devEnglish · 6 days agomessage-square88linkfedilink
minus-squareValmond@lemmy.dbzer0.comlinkfedilinkarrow-up1·2 days agoStill does, but you don’t have to. So you haven’t had much experience with oop?
minus-squaretatterdemalion@programming.devlinkfedilinkarrow-up1·2 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·1 day 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.