freddo@feddit.nu to Programmer Humor@programming.devEnglish · 9 个月前OOP at home:feddit.nuimagemessage-square89linkfedilinkarrow-up1346arrow-down116
arrow-up1330arrow-down1imageOOP at home:feddit.nufreddo@feddit.nu to Programmer Humor@programming.devEnglish · 9 个月前message-square89linkfedilink
minus-squareValmond@lemmy.dbzer0.comlinkfedilinkarrow-up1·9 个月前Still does, but you don’t have to. So you haven’t had much experience with oop?
minus-squaretatterdemalion@programming.devlinkfedilinkarrow-up1·9 个月前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.
minus-squareValmond@lemmy.dbzer0.comlinkfedilinkarrow-up2·8 个月前Well 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.