In article <6b4065b0-6af7-4aff-8023-40e5d521f...@v19g2000yqn.googlegroups.com>, Luis Gonzalez <luis...@gmail.com> wrote: > >Yes, I know the python approach is to use built-ins. >But wouldn't it be cool if we could do mydict.values().tolist() >instead? >It would be more regular and intuitive and readable from an OO point >of view. >In my oppinion, this would be cleaner. >Built-ins used like this look like an early decission made when >designing an imperative language.
What kind of language do you think Python is? -- Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/ "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." --Brian W. Kernighan -- http://mail.python.org/mailman/listinfo/python-list