Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Don't know why you are being down voted. The author claimed EVERYTHING is pass by reference, which is false.



It's not even close, nothing is passed by reference!


objects? I don't care about low level engine implementation details. I'm saying from the dev's perspective, it's effectively pass by reference.


It is only pass by reference if what ends up in the call stack is the address of the actual variable on the caller side, not what it points to.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: