[Tutor] list as a first class citizen in python?

alan.gauld@bt.com alan.gauld@bt.com
Wed, 26 Dec 2001 16:53:26 -0000

>     So much for lists being first class citizens!  Compare
>     this with Perl's
> ....
>     Or even with references:
> 	$y = [ @$x ];

Looks a lot like y = x[:] to me ;-)

> what's wrong with working with a reference.


> can someone explain the argument here?

When all you've got is Perl every problem looks like a shell 

Dont worry about it language myopia is not new and
neither is it very productive!

Use what works for you.

Alan G.