News for hackers. Stuff that matters.
Re:Python, as Reviewed by a C++ Programmer by markbnj on Sunday April 23, 2017 @01:31PM (#14179198)
It's specifically because high level language semantics often mask the underlying implementation that knowing that implementation is necessary for truly understanding what's happening. The situation you describe is call by reference, where the value passed on the stack or in a register is a reference to a customer object. You could pass a customer object by value (in languages that allow it, such as C++) by copying the structure verbatim onto the stack and addressing it there.

There are no comments on this comment yet.