freddo@feddit.nu to Programmer Humor@programming.devEnglish · 2 days agoOOP at home:feddit.nuimagemessage-square72fedilinkarrow-up1298arrow-down115
arrow-up1283arrow-down1imageOOP at home:feddit.nufreddo@feddit.nu to Programmer Humor@programming.devEnglish · 2 days agomessage-square72fedilink
minus-squareSparroHawc@lemmy.ziplinkfedilinkarrow-up1·edit-22 hours agoAdmittedly this is why I like C#'s ‘implements’ paradigm. Doesn’t have to inherit, it just has to fulfill the contract, and then you can pass it to anything that expects the interface it implements. Keeps you from building giant trees.
Admittedly this is why I like C#'s ‘implements’ paradigm. Doesn’t have to inherit, it just has to fulfill the contract, and then you can pass it to anything that expects the interface it implements. Keeps you from building giant trees.