@snaggen@programming.dev to Programming@programming.devEnglish • 2 years agoThe Tragic Death of Inheritanceavivcarmi.commessage-square52fedilinkarrow-up1107arrow-down14
arrow-up1103arrow-down1external-linkThe Tragic Death of Inheritanceavivcarmi.com@snaggen@programming.dev to Programming@programming.devEnglish • 2 years agomessage-square52fedilink
minus-square@mrsgreenpotato@discuss.tchncs.delinkfedilinkEnglish1•2 years agoThanks for the explanation! I haven’t worked with Rust before, would these traits be an equivalent of C# interfaces?
minus-square@snaggen@programming.devOPlinkfedilink2•2 years agoTraits are similar to an interface, but with some differences. Here is a comparison with Java interfaces https://stackoverflow.com/a/69485860
Thanks for the explanation! I haven’t worked with Rust before, would these traits be an equivalent of C# interfaces?
Traits are similar to an interface, but with some differences. Here is a comparison with Java interfaces https://stackoverflow.com/a/69485860