anything like C++ references?
Donn Cave
donn at u.washington.edu
Wed Jul 16 17:33:07 EDT 2003
In article <20030716142716509-0600 at news.xmission.com>,
Adam Ruth <owski at hotmail.com> wrote:
> In <donn-F604B9.12121916072003 at nntp3.u.washington.edu> Donn Cave wrote:
> > In article <20030716123907246-0600 at news.xmission.com>,
...
> > OK, there really aren't any situations where you can't avoid
> > pointers ... so you're ready with a solution to the problem
> > I posed above?
...
> As for your problem on the subscript operator, I think my solution is:
> there's no problem. Having the get and set asymetric is preferrable, in
> my view. For example, I use it in a number of places where I cache the
> set operation:
So after all it should be "there aren't any situations that I care
about where you can't avoid pointers." That's fine, it's really
where we all come down in the end - life is too short to worry
about solving problems you don't care about. One should be clear
about it, though.
Donn Cave, donn at u.washington.edu
More information about the Python-list
mailing list