module confusion

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Sat Oct 6 02:28:51 EDT 2007


On Sat, 06 Oct 2007 19:16:47 +1300, Lawrence D'Oliveiro wrote:

> In message <5mm85kFe9gesU1 at mid.uni-berlin.de>, Marc 'BlackJack' Rintsch
> wrote:
> 
>> To me a `variable` is made of a name, a memory address, a data type, and
>> a value.  In languages like C the address and type are attached to the
>> name while in Python both are attached to the value.
> 
> How does C++ with RTTI fit into your picture, then?

I'm no C++ expert but I'd say the type is attached to the value too there.
Same is true for Java.

Ciao,
	Marc 'BlackJack' Rintsch



More information about the Python-list mailing list