onlinepersona@programming.dev to Rust@programming.devEnglish · 9 months agoRust is now a government conspiracyprogramming.devimagemessage-square52linkfedilinkarrow-up1142arrow-down14file-text
arrow-up1138arrow-down1imageRust is now a government conspiracyprogramming.devonlinepersona@programming.dev to Rust@programming.devEnglish · 9 months agomessage-square52linkfedilinkfile-text
minus-squaresugar_in_your_tea@sh.itjust.workslinkfedilinkarrow-up3·9 months ago the lack of OOP Rust absolutely has OOP, that’s what Traits are for. It just doesn’t have classical inheritance, so you structure your patterns a bit differently. That said, I lean more into functional-inspired style anyway, which tends to work pretty well w/ Rust.
Rust absolutely has OOP, that’s what Traits are for. It just doesn’t have classical inheritance, so you structure your patterns a bit differently.
That said, I lean more into functional-inspired style anyway, which tends to work pretty well w/ Rust.