[Zope-dev] Re: TALES idea: tuple unpacking

Chris Withers chrisw@nipltd.com
Tue, 29 Jul 2003 18:22:38 +0100


Paul Winkler wrote:

> On Wed, Jul 23, 2003 at 11:07:20AM -0500, Evan Simpson wrote:
> 
>>...  This would allow 
>>"options/a_mapping/key:items/index:0" rather than 
>>"python:options['a_mapping']['items'][0]".
> 
> Why is that an improvement? 

Personally, I find it much easier to read...

I wonder what non-python'ers would think?


> I guess I don't understand the goal. Are we trying to make it
> so that zpt authors don't have to know any python?

For me, that would be ideal...

> I really think that's a mistake.

What leads you to believe that?

cheers,

Chris