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
4 months ago
62,298,370 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
Its Just Looks Theyre Not Important
2 years ago
106.0K views
1 shares
True Story
5 years ago
122.8K views
0 shares
Center Div.Js: The 500MB Solution To A 5KB Problem
1 year ago
399.0K views
0 shares
LoFi programmer
4 years ago
103.7K views
0 shares
The risk of every new if-statement
4 years ago
100.0K views
0 shares
YDN Electric Standing Desk, 32x19 Inch, Black
Affiliate
Standing Desks
YDN
The Immortal Language That Refuses To Die
1 year ago
602.5K views
0 shares
Loading more content...
AI
AWS
Agile
Algorithms
Android
Apple
Bash
C++