cm0002@lemmy.world to Programmer Humor@programming.dev · 9 hours agoLow effort memelemmy.worldimagemessage-square12fedilinkarrow-up158arrow-down14cross-posted to: programmerhumor@lemmy.ml
arrow-up154arrow-down1imageLow effort memelemmy.worldcm0002@lemmy.world to Programmer Humor@programming.dev · 9 hours agomessage-square12fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squareanton@lemmy.blahaj.zonelinkfedilinkarrow-up1·7 hours agoRust doesn’t allow type inference in function signatures, c++ does with auto. IIRC, they recommended against using it, because of -you guessed it- compile time.
minus-squareSpaceNoodle@lemmy.worldlinkfedilinkarrow-up2·6 hours agoYeah, Rust already has major compile time issues.
minus-squareRustyNova@lemmy.worldlinkfedilinkarrow-up1·6 hours agoTBH I thought it was for refactoring type safety. Making sure that the type is understood and not ready to just change wildly accidentally.
minus-squareSpaceNoodle@lemmy.worldlinkfedilinkarrow-up1·6 hours agoI thought that was part of the point - simplifying refactoring.
Rust doesn’t allow type inference in function signatures, c++ does with auto. IIRC, they recommended against using it, because of -you guessed it- compile time.
Yeah, Rust already has major compile time issues.
TBH I thought it was for refactoring type safety. Making sure that the type is understood and not ready to just change wildly accidentally.
I thought that was part of the point - simplifying refactoring.