seth@lemmy.world to Programming@programming.dev · edit-28 months agoC++ creator rebuts White House warningwww.infoworld.comexternal-linkmessage-square103fedilinkarrow-up1157arrow-down112file-textcross-posted to: [email protected]
arrow-up1145arrow-down1external-linkC++ creator rebuts White House warningwww.infoworld.comseth@lemmy.world to Programming@programming.dev · edit-28 months agomessage-square103fedilinkfile-textcross-posted to: [email protected]
minus-squarecalcopiritus@lemmy.worldlinkfedilinkarrow-up1arrow-down1·7 months agoBoth RefCell and unsafe are features of the language. That’s like saying python’s OOP sucks if you don’t use the class keyword.
minus-squarevext01@lemmy.sdf.orglinkfedilinkarrow-up1·7 months agoI’m not saying it sucks. I’m saying it can be less straight-forward than conventional languages, even for experienced programmers. The borrow checker is fantastic, but there’s no doubt that it requires a new way of thinking if you’ve never seen Rust before.
Both RefCell and unsafe are features of the language. That’s like saying python’s OOP sucks if you don’t use the
class
keyword.I’m not saying it sucks. I’m saying it can be less straight-forward than conventional languages, even for experienced programmers.
The borrow checker is fantastic, but there’s no doubt that it requires a new way of thinking if you’ve never seen Rust before.