Freddo@feddit.nu to Programmer HumorEnglish · 12 days agoOOP at home:feddit.nuimagemessage-square88linkfedilinkarrow-up1345arrow-down115
arrow-up1330arrow-down1imageOOP at home:feddit.nuFreddo@feddit.nu to Programmer HumorEnglish · 12 days agomessage-square88linkfedilink
minus-squaretatterdemalionlinkfedilinkarrow-up1·8 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·7 days agoWell then I understand why inheritance isn’t your thing, I yet have to see an interface in need of inheritance.
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.