Python is wierd!
Grant Edwards
ge at nowhere.none
Tue Jul 25 11:47:26 EDT 2000
In article <8lj7kr$ttc$1 at nnrp1.deja.com>, Jonathan wrote:
>3. No keywords to differentiate between passing arguments by
> reference or value! An integer is passed by value(reference to
> a new copy), while a mutable object is by reference.
All parameters are passed by reference. Whether the object
references is mutable or not is another question. I think
that's what you meant, right?
All languages are wierd if you're used to something else.
Scheme is wierd if you're used to Fortran. C is weird if
you're used to Prolog. APL is weird if, well, it's just weird.
Perl is weird if you used to anything except AWK and Bourn
shell, and then it's still a little weird.
--
Grant Edwards grante Yow! MMM-MM!! So THIS is
at BIO-NEBULATION!
visi.com
More information about the Python-list
mailing list