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
2 months ago
62,254,085 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
We've all been there.
3 years ago
88.3K views
0 shares
It is just true
5 years ago
88.2K views
0 shares
Coworker: how do you format your code?
3 years ago
93.1K views
0 shares
Job Ads
2 months ago
49.1M views
0 shares
Tetris Cafe Wall Design
1 year ago
185.5K views
0 shares
Loading more content...
AI
AWS
Agile
Algorithms
Android
Apple
Bash
C++