[Edu-sig] Pass by Reference

John Posner jjposner at snet.net
Fri May 16 13:23:32 CEST 2008


> ... In that situation, it does help to explain 
> Python's calling mechanism in terms that these students 
> understand.  I've posted my answer at 
> http://ece.arizona.edu/~edatools/ece175/Lecture/QnA.txt
> 

One tiny "wordsmithing" suggestion ...

  Note: A call-by-reference in C is really just a call-by-value with the
value
  being an explicitly computed address &x.  In both cases the underlying
  mechanism is call-by-value.


... change "is really just" to "is accomplished by performing"

-John



More information about the Edu-sig mailing list