On 2007-02-04, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: >> How about the traditional programming languages like C, Pascal >> or C++? > > For a start they don't have a built in list type. C and Pascal > don't even have one in the standard library. C++ has STL > vectors and if you, the programmer, decide to store pointers in > it instead of structures or objects then you have something > like Python's list type.
You need to store some form of smart pointer (rather than a bare pointer) in C++ standard containers in order to avoid heart, head and stomach aches. A reference counted pointer type will come fairly close to Python semantics. -- Neil Cerutti Eddie Robinson is about one word: winning and losing. --Eddie Robinson's agent Paul Collier -- http://mail.python.org/mailman/listinfo/python-list