Marc Lindahl wrote:
> 
> on 5/13/02 3:11 PM, Chris Withers at [EMAIL PROTECTED] scrivened:
> 
> >>
> >> For the reasons 'else' was invented in the first place,
> >
> > 'else' in what context?!
> 
> Meaning, in procedural languages.

Okay, repeat the mantra over to yourself:

Templating languages are not procedural languages
Templating languages are not procedural languages
Templating languages are not procedural languages
(etc)

*grinz*

> >>  I guess:  prone to
> >> errors, inefficient, bulky.
> >
> > Can you give any material that actually backs up these sweeping claims? ;-)
> 
> Prone to errors: when changing the condition, have to duplicated edits in 2
> places,

No you don't. Do I have to say that a third time? ;-)

> Inefficient: have to evaluate an expression twice (unless someone makes a
> jit compiler!)

I guess I do... :-P

> Bulky: in terms of taking more space in the source file, without clarifying
> what's being done.

That's a bit woolly, gimme some concrete examples...

> Yes you did, and re-reading the TAL wiki
> (http://www.zope.org//Wikis/DevSite/Projects/ZPT/TAL%20Specification%201.2)
> it's clear that your approach is the one the language is designed for.
> Also, your approach can easily accommodate other logic structures like case
> statement.  Well, I guess I'm convinced!

*grinz*

Chris


_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to