expression form of one-to-many dict?

Fredrik Lundh fredrik at pythonware.com
Sat Dec 18 08:24:28 CET 2004


Steven Bethard wrote:

>> The map form, in this case, parses instantly in my brain, while the listcomp
>> certainly takes a few cycles.  And note that I'm not talking about the typing
>> conciseness, but about the effort for my brain.  But maybe I'm just wired
>> funny :)
>
> Well, different at least.  I find the map one harder to parse mentally.

if you have trouble parsing a function call, I'm glad I don't have to maintain
your Python programs...

</F> 






More information about the Python-list mailing list