Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
olback109925yPassing by value: You now own the salt and don't have to give it back.
Passing by reference: You can only look at the salt.
Passing by mutable reference: You can use the salt, but you have to give the shaker back. -
@olback actually, passing by value would mean that you get a newly fabricated salt shaker, with the same amount of salt in it.
Ownage has nothing to do with it :]
Can you pass me the salt? 😃
joke/meme