[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

I'm wrong or Will we fix the ducks limp?

Antoon Pardon <antoon.pardon at>:

> You can do something like that in simula, but only because
> simula has two kinds of assignments. One kind that is
> simular to python and one that is similar to C.
> The one that is similar that python is the reference assignment.

I see Python as doing the exact same thing with variables as C.

What is different is that in Python, every expression evaluates to a
pointer. Thus, you can only assign pointers to variables.