Pass Me The Salt... But How?

Pass Me The Salt... But How?
programming-memes, function-parameters-memes, pass-by-reference-memes, pass-by-value-memes, coding-humor-memes | ProgrammerHumor.io

That moment when even dinner conversations turn into technical debates. Normal people ask for salt, but programmers immediately need to know the implementation details. Pass-by-value makes a copy (enjoy your own salt shaker), while pass-by-reference just hands you the original (here, use mine). Ten years into coding and I still overthink simple interactions like this. The real question is whether the salt has immutable properties...

More Like This