Magnus Lycka <[EMAIL PROTECTED]> wrote: >The thing that really bit me when I tried to go back to Perl after >years with Python was dereferencing. Completely obvious things in >Python, such as extracting an element from a list inside a dict in >another list felt like black magic.
Not that long ago I had to make some enhancements to someone else's Perl script which was handling that kind of data structure. I stared and stared at a particularly long and messy dereference, and eventually figured out what it was doing. I then wrote what the equivalent Python would have been. Even forgiving the Perl's initial "my", thanks to the line noise characters the Python was over 10% shorter, as well as more readable. So much for the myth of verbosity. -- \S -- [EMAIL PROTECTED] -- http://www.chaos.org.uk/~sion/ ___ | "Frankly I have no feelings towards penguins one way or the other" \X/ | -- Arthur C. Clarke her nu becomeþ se bera eadward ofdun hlæddre heafdes bæce bump bump bump
-- http://mail.python.org/mailman/listinfo/python-list