cm0002@lemmy.world to Programmer Humor@programming.dev · 5 days agoLow effort memelemmy.worldimagemessage-square16fedilinkarrow-up1102arrow-down112
arrow-up190arrow-down1imageLow effort memelemmy.worldcm0002@lemmy.world to Programmer Humor@programming.dev · 5 days agomessage-square16fedilink
minus-squareanton@lemmy.blahaj.zonelinkfedilinkarrow-up6·5 days 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-up4·5 days agoYeah, Rust already has major compile time issues.
minus-squareRustyNova@lemmy.worldlinkfedilinkarrow-up2·5 days agoTBH I thought it was for refactoring type safety. Making sure that the type is understood and not ready to just change wildly accidentally.
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.