[ZPT] How do I...

Evan Simpson evan@digicool.com
Thu, 17 May 2001 11:09:43 -0400


From: "Guido van Rossum" <guido@digicool.com>
> Seeing this example again, I'm wondering if perhaps we were too eager
> to minimize the syntax?  Wouldn't this look much better with an '='
> sign after opt?
>
>   tal:define="opt = options/module_code | request/module_code | nothing"

The two "=" in such close proximity still bugs me, and "=" doesn't seem to
go with "define".  I like "as" better, except that it just adds wordiness:

tal:define="this as that; global something as here/something"

Similarly for "in" and "repeat":

tal:repeat="item in sequence"

Cheers,

Evan @ digicool