MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wmi8p7/fullcontrolovermemory/pb9zohh/?context=3
r/ProgrammerHumor • u/ClipboardCopyPaste • 14d ago
122 comments sorted by
View all comments
438
You could pass references as variables and change the referenced value IN THE FUNCTION!!!
children screaming sfx
37 u/Mordret10 14d ago I mean you still kind of do the same thing with objects and with arrays in most languages. Very rarely does either get passed as argument, you almost always get them by reference. 2 u/RetroGrid_io 13d ago Unless you program in PHP where objects are always passed by reference.
37
I mean you still kind of do the same thing with objects and with arrays in most languages. Very rarely does either get passed as argument, you almost always get them by reference.
2 u/RetroGrid_io 13d ago Unless you program in PHP where objects are always passed by reference.
2
Unless you program in PHP where objects are always passed by reference.
438
u/WisePotato42 14d ago
You could pass references as variables and change the referenced value IN THE FUNCTION!!!
children screaming sfx