Python handles globals badly.

Random832 random832 at fastmail.com
Sat Sep 12 06:06:18 CEST 2015


Mark Lawrence <breamoreboy at yahoo.co.uk> writes:

> On 12/09/2015 01:11, random832 at fastmail.us wrote:
> If everything in Python is an object, how can it assign a pointer?
> Especially how do Jython and IronPython assign pointers?

The Java and .NET runtimes also have pointers, they just don't [usually]
call them pointers, just like Python doesn't call them pointers (a match
made in... well, somewhere starting with an H, for sure).

Honestly, whether you want to call the thing a pointer or a reference,
you have to call it *something*, and I think "reference" is a worse fit
based on its connotations from C++. Whatever you call it, it's an arrow
on a diagram.



More information about the Python-list mailing list