3 ms·
Depending on the language the ampersand could mean by copy or by reference. I suspect the commentor wants by reference, since they want to examine it later.
by ehnto 6y ago
Depending on the language the ampersand could mean by copy or by reference. I suspect the commentor wants by reference, since they want to examine it later.
- SV_BubbleTime 6y agoYour right; I meant by reference. I also said MISRA, which implies destruction by means of Sea monster.
- KMag 6y ago> Depending on the language the ampersand could mean by copy or by reference Yikes. Which languages use ampersand to signal passing by value? That's a massive footgun if I'm ever cargo-culting my way through writing some code in one of those languages for the first time.
- FroshKiller 6y agoIsn't the real footgun trying to do work you don't adequately understand?
- KMag 6y agoI generally learn a new language by cargo-culting my way through a few small-ish programs. I wouldn't put anything in production in a language that I didn't adequately understand, but I could certainly waste a bunch of time debugging if I got the meaning of & flipped.