On Fri, Nov 12, 2010 at 5:33 PM, Xavier Noria <fxn / hashref.com> wrote:
> Do you agree with the picture?
Completely!
I agree that we have pass by value. My question is, why do you dislike
this representation for it
def meth a
...
meth(b)
a ---+
|
+------> An Object
|
b---+
I thought it was making things quite clear
Maybe one should add that after
b = 42
the picture changes.
R.
--
The 1,000,000th fibonacci number contains '42' 2039 times; that is
almost 30 occurrences more than expected (208988 digits).
N.B. The 42nd fibonacci number does not contain '1000000' that is
almost the expected 3.0e-06 times.