why cannot assign to function call

Benjamin Kaplan benjamin.kaplan at case.edu
Fri Jan 9 19:25:42 EST 2009


On Fri, Jan 9, 2009 at 7:11 PM, Joe Strout <joe at strout.net> wrote:

> Mark Wooding wrote:
>
>
>  .NET isn't a language at all:
>> rather, it's a virtual machine, runtime system, class library and family
>> of languages each of which may have idiosyncratic semantics.
>>
>
> But they don't, AFAIK -- they all have the same semantics; only the surface
> syntax differs.  And those semantics are the same as REALbasic and Java.
>

They do in fact differ. You can have Visual C++ compile to CLI, in which
case you have the C++ assignment in .NET, you can use VisualBasic, in which
you can specify pass-by-value or -reference when you pass arguments to
methods, and you have Visual C#, which copies Java's model and is therefore
the same as Python.


>
> See <http://www.strout.net/info/coding/valref/> for some side-by-side
> comparisons.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090109/120f80fb/attachment-0001.html>


More information about the Python-list mailing list