Re: [Tutor] References and list aliasing in Perl and Python [Was: Re: Dictionaries]

2006-01-19 Thread Victor Bouffier
On Wed, 2006-01-18 at 23:03 -0800, Danny Yoo wrote: > > > There are tradeoffs here. On the one hand, Python folks get caught > > > off guard when they first encounter list aliasing. On the other, Perl > > > folks get caught off guard when they first try to make a hash whose > > > values are thems

Re: [Tutor] References and list aliasing in Perl and Python [Was: Re: Dictionaries]

2006-01-18 Thread Danny Yoo
> > There are tradeoffs here. On the one hand, Python folks get caught > > off guard when they first encounter list aliasing. On the other, Perl > > folks get caught off guard when they first try to make a hash whose > > values are themselves lists. *grin* > > > WOW. Great explanation. Don't wor

Re: [Tutor] References and list aliasing in Perl and Python [Was: Re: Dictionaries]

2006-01-18 Thread Victor Bouffier
On Tue, 2006-01-17 at 22:57 -0800, Danny Yoo wrote: > > > The terminology that the original poster uses ("references to another > > > object") sounds a lot like the original usage of symbolic "soft" > > > references in Perl. > > > (http://www.perl.com/doc/manual/html/pod/perlref.html) > > > > > > P

[Tutor] References and list aliasing in Perl and Python [Was: Re: Dictionaries]

2006-01-17 Thread Danny Yoo
> > The terminology that the original poster uses ("references to another > > object") sounds a lot like the original usage of symbolic "soft" > > references in Perl. > > (http://www.perl.com/doc/manual/html/pod/perlref.html) > > > > Perl programmers, for the most part, avoid them now because they'