[Edu-sig] Pass by Reference

David MacQuigg macquigg at ece.arizona.edu
Fri May 16 22:41:03 CEST 2008


At 07:23 AM 5/16/2008 -0400, you wrote:

>> ... 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"

Good suggestion.  I've made the change.

-- Dave




More information about the Edu-sig mailing list