seth@lemmy.world to Programming@programming.dev · 2 years agoC++ creator rebuts White House warningwww.infoworld.comexternal-linkmessage-square104linkfedilinkarrow-up1157arrow-down112file-text
arrow-up1145arrow-down1external-linkC++ creator rebuts White House warningwww.infoworld.comseth@lemmy.world to Programming@programming.dev · 2 years agomessage-square104linkfedilinkfile-text
minus-squarecalcopiritus@lemmy.worldlinkfedilinkarrow-up1arrow-down1·2 years 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·2 years 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
classkeyword.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.