Why use Perl when we've got Python?!

John W. Stevens jstevens at basho.fc.hp.com
Fri Aug 13 23:04:03 EDT 1999


> In comp.lang.perl.misc, 
>     "John W. Stevens" <jstevens at basho.fc.hp.com> writes:
> :$b[ 2 ] = $c;
> :
> :> That's just fine in Perl.  It's not fine in Python, because Python
> :> won't automatically grow an array.
> :
> :'Cause it doesn't have arrays (or, at least, not built in ones).
> 
> Gosh, that's a feature.  NOT.

Perl doesn't have lists.  Python doesn't have built-in arrays.

Python, however, has an array module as part of its standard library.

I will assume that a list module is available for Perl.

I wasn't trying to compare features, I was simply pointing out
that your comparison was Apples and Oranges, and therefore at
least somewhat invalid.

John S.





More information about the Python-list mailing list