☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 8 days agoA quick intro to pointerslemmy.mlexternal-linkmessage-square21fedilinkarrow-up1258arrow-down12file-text
arrow-up1256arrow-down1external-linkA quick intro to pointerslemmy.ml☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 8 days agomessage-square21fedilinkfile-text
minus-squareddplf@szmer.infolinkfedilinkarrow-up9arrow-down2·edit-28 days agoIt’s the opposite, everything is passed by reference but primitives are also addresses and therefore passed by value You can’t pass objects or functions as value
It’s the opposite, everything is passed by reference but primitives are also addresses and therefore passed by value
You can’t pass objects or functions as value