[Tutor] list as a first class citizen in python? [languagecomparisons!]
Wed, 26 Dec 2001 14:35:10 +0530
from your code snippet, the list thing in perl seems odd though.
everything gets flattened out in the end? unless i do somethign about it.
So this w'd work in perl then??
args = [1,2]
so they don't need an apply as we do in python?
now am not sure which one is better. having learnt java first, i w'd go with
am not qualified enough to make comparisons, but i was confused by these
>This forces people to think about references, again
>So much for lists being first class citizens!
thanks. have to do a read up on the "first class" things though.