Menu
1
Popular
Trending
Fresh
All
Substances
Funsubsters
GIFs
Videos
Media
Shop
Top
Top:
Posts
Comments
Users
Chat
More
Search
Submit
Sign Up
Login
Feedback Form
Fun Blog
Pass by reference vs pass by value
GIF
Comments
Follow Comments
Sorted by time
guest
· 5 years ago
·
FIRST
Uhhhhhhhhhhhh.......
4
jasonmon
· 5 years ago
This is illustrating a tricky distinction: a reference is a POINTER to a value. It's not its own thing.
1
creativedragonbaby
· 5 years ago
If you see there, the second example has the first cup not filling up.
That’s a bit more helpful
i_k_k_e
· 5 years ago
Still don't really understand the difference. Isn't the command fillCup() the same?
creativedragonbaby
· 5 years ago
This is just a small piece of a bigger script. The stuff before the fillCup() affects how it reacts. This is just an infograph to help visualise it
Reply
Comments
That’s a bit more helpful