Someone innocently asks for the salt at dinner, and the programmer's brain immediately goes into technical specification mode. "Do you want me to hand you the salt shaker itself, or just point to where it is so you can grab it yourself?"
Pass-by-value means you get a copy of the salt (the actual shaker), while pass-by-reference means you get directions to the salt's memory address on the table. The poor person just wanted to season their food, but now they're stuck in a function parameter debate.
We literally cannot turn off the optimization brain. Even at dinner. Especially at dinner. The worst part? We genuinely think we're being helpful by asking for clarification.
Dinner With A Programmer Is Never Simple
3 months ago
62,274,706 views
0 shares
pass-by-value-memes, pass-by-reference-memes, programmer-life-memes, function-parameters-memes, programming-humor-memes | ProgrammerHumor.io
More Like This
Real Magic: The Coffee-To-Code Conversion Algorithm
1 year ago
276.1K views
0 shares
*Coding intensifies*
5 years ago
161.3K views
0 shares
Why Does It Make Me Cry
3 years ago
95.6K views
1 shares
Mine is VS Code...which one is yours?
4 years ago
93.1K views
0 shares
UnionSine 1TB Ultra Slim Portable External Hard Drive HDD-USB 3.0 for PC, Mac, Laptop, PS4, Xbox one, Xbox 360-(Black)
Affiliate
External Storage
UnionSine
Newborn K8s: Destined For Container Chaos
1 year ago
435.7K views
0 shares
Add More Cases If Necessary
2 years ago
92.4K views
0 shares
Loading more content...
AI
AWS
Agile
Algorithms
Android
Apple
Bash
C++