onlinepersona@programming.dev to Rust@programming.devEnglish · 2 months agoRust is now a government conspiracyprogramming.devimagemessage-square33fedilinkarrow-up1160arrow-down13file-text
arrow-up1157arrow-down1imageRust is now a government conspiracyprogramming.devonlinepersona@programming.dev to Rust@programming.devEnglish · 2 months agomessage-square33fedilinkfile-text
minus-squaresugar_in_your_tea@sh.itjust.workslinkfedilinkarrow-up3·2 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.