anything like C++ references?

Heiko Wundram heikowu at
Wed Jul 16 07:24:30 CEST 2003

On Tue, 2003-07-15 at 06:27, Stephen Horne wrote:
> Really. Is that what dictionaries are for? Or lists? Or other mutable
> classes?

I guess that's what classes are for... Just on a personal note, I've
never ever needed or wished for something similar to pointer syntax in
Python. Don't you tell that it's my background, I come from a C++
background, and have switched to Python only for the last two years or

If you encapsulate your data correctly (have classes handle data that
belongs together, and not pass it round in parts), everything works out
great, at least for me. And I guess there's nothing more important than
thinking about proper data-encapsulation before starting a project.


Heiko Wundram.

More information about the Python-list mailing list