What other languages use the same data model as Python?
harrismh777
harrismh777 at charter.net
Thu May 5 16:12:45 EDT 2011
Ian Kelly wrote:
> On the other hand, the @ syntax is analogous to declaring reference
> types in C++ (e.g. "int&" as opposed to "int *"). In both cases you
> have to tell the interpreter / compiler that you want to use the
> decoration / pass-by-reference feature, and the actual work is done
> for you automatically.
[ @Ian, Neil ]
:) ... uh, it was worth a shot...
No, I see your point... with the slight small push-back that
dereferencing a pointer with '*' can't really be called 'work' can it?
( I know, you'll say yes, because the 'compiler' didn't do it ! )
:))
More information about the Python-list
mailing list