Terminology: "reference" versus "pointer"

Jussi Piitulainen harvesting at makes.email.invalid
Sun Sep 13 02:40:54 EDT 2015


Random832 writes:
> Jussi Piitulainen writes:
>> I think the best way is to say that a[0] and a[1] are the same
>> object, while b[0] and b[1] are different objects.
>
> Sure, you can *say* that. But how do you draw it on a diagram with
> sticky notes or parcel tags or whatever?

I prefer to outline my code as code, with comments where needed, without
irrelevant details. Those pointers and tags are usually irrelevant, best
omitted altogether.



More information about the Python-list mailing list