Re: Patch and test to allow component calls

Jonathan Swartz <[email protected]>
Newsgroups gmane.comp.web.mason.devel
Message-ID <[email protected]>
>>So is your only objection that our current design does not allow us to
>>implement it cleanly enough?
> 
> 
> Well, I don't feel strongly that this feature _is_ needed, but I don't
> object to it all that strongly.  It's yet another special case, since it
> won't work when the path is a Perl expression.
> 
> And really, how different is this from most languages, like Perl:
> 
>  if ( ... )
>  {
>      if ( ... )
>      {
>          # lots of code
>      }
>  }
> 
> The closing braces have no indication of what they close.
> 

Yeah, that's why we're implementing <%if> </%if> and <%while> </%while> 
for 1.3. :)

No, I agree with you, Dave, obviously everything can't have a matching 
closing tag unless you're an xslt programmer. But this compromise syntax 
seems reasonable - easy to document, backwards compatible, fully 
optional, and requested by multiple users.

I'll add it to the list.

Jon



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.