Freddo@feddit.nu to Programmer HumorEnglish · 2 days agoOOP at home:feddit.nuimagemessage-square67linkfedilinkarrow-up1294arrow-down114
arrow-up1280arrow-down1imageOOP at home:feddit.nuFreddo@feddit.nu to Programmer HumorEnglish · 2 days agomessage-square67linkfedilink
minus-squareEthanlinkfedilinkEnglisharrow-up6·14 hours agoWhen I first started using Go I bemoaned the lack of true inheritance and classes. Now I love it.
minus-squareNot_mikey@lemmy.dbzer0.comlinkfedilinkarrow-up1·1 hour agoI thought it didn’t have classes in name only, isn’t a struct with methods basically a class?
minus-squarelime!@feddit.nulinkfedilinkarrow-up2·17 minutes agoa class can be inherited from, a struct can not.
When I first started using Go I bemoaned the lack of true inheritance and classes. Now I love it.
I thought it didn’t have classes in name only, isn’t a struct with methods basically a class?
a class can be inherited from, a struct can not.