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

This! People say java passes by reference sometimes, but in C++ the references can't be null whereas in java they can.


Cpp and c also call things volatile for entirely different reasons than Java.

These are two distinct ecosystems. They use the same terminology with different meaning. That perhaps is confusing, but definitely doesn't make one or the other incorrect.


I think this is the big thing. Maybe java references arent cpp refs. Is there a proper name for an abstract construct that refers to something else? Maybe reference?




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

Search: