@roon@lemmy.ml to Programmer Humor@programming.devEnglish • 1 year ago"I want to live forever in AI"lemmy.mlimagemessage-square204fedilinkarrow-up1759arrow-down135file-text
arrow-up1724arrow-down1image"I want to live forever in AI"lemmy.ml@roon@lemmy.ml to Programmer Humor@programming.devEnglish • 1 year agomessage-square204fedilinkfile-text
minus-square@I_am_10_squirrels@beehaw.orglinkfedilink5•1 year agoThe first line passes the argument by reference, ie, the object itself. The second line passes the object by value, ie, a copy.
minus-squareladlinkfedilink4•1 year agoAlso in Rust that would be the opposite which is funny but confusing
The first line passes the argument by reference, ie, the object itself.
The second line passes the object by value, ie, a copy.
Also in Rust that would be the opposite which is funny but confusing
Thank