What other languages use the same data model as Python?

Gregory Ewing greg.ewing at canterbury.ac.nz
Thu May 5 06:19:18 EDT 2011


harrismh777 wrote:
> 'C' does provide for pointers which are used by all 'C' 
> programmers to firmly provide pass-by-reference in their coding

Yes, but when they do that, they're building an abstraction
of their own on top of the facilities provided by the C
language. C itself has no notion of pass-by-reference. If
it did, the programmer would be able to use it directly
instead of having to insert & and * operators himself.

-- 
Greg



More information about the Python-list mailing list