Re: [jelly] switch/case

2002-12-12 Thread Morgan Delagrange
FWIW I also think the current behaviour is nice and
concise.  I wrote a fairly large Jelly switch
statement, and it was nice to not have to write all
those break tags.

--- Rodney Waldhoff <[EMAIL PROTECTED]> wrote:
> Given this and the other replies on this thread, I
> guess I'll just leave
> well enough alone for now.
> 
> On Tue, 10 Dec 2002, bob mcwhirter wrote:
> 
> >
> > I think most folks tend to use 'break' with their
> switch/case statements,
> > and probably have been bitten in the ass a lot due
> to a missing break.
> >
> > I'd vote for defaultly not falling through, but if
> you wanted to,
> > add an explicit  tag that'd set a
> fall-through flag
> > to true and execute the following  and reset
> it back to false.
> >
> > Else, maybe a global attr on the  fall-through="true"> or similar?
> >
> > -bob
> >
> >
> > --
> > To unsubscribe, e-mail:  
> 
> > For additional commands, e-mail:
> 
> >
> >
> 
> 
> --
> To unsubscribe, e-mail:  
> 
> For additional commands, e-mail:
> 
> 


=
Morgan Delagrange
http://jakarta.apache.org/taglibs
http://jakarta.apache.org/commons
http://axion.tigris.org
http://jakarta.apache.org/watchdog

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: [jelly] switch/case

2002-12-12 Thread Rodney Waldhoff
Given this and the other replies on this thread, I guess I'll just leave
well enough alone for now.

On Tue, 10 Dec 2002, bob mcwhirter wrote:

>
> I think most folks tend to use 'break' with their switch/case statements,
> and probably have been bitten in the ass a lot due to a missing break.
>
> I'd vote for defaultly not falling through, but if you wanted to,
> add an explicit  tag that'd set a fall-through flag
> to true and execute the following  and reset it back to false.
>
> Else, maybe a global attr on the  or similar?
>
>   -bob
>
>
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
>
>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




[jelly] switch/case

2002-12-10 Thread bob mcwhirter

I think most folks tend to use 'break' with their switch/case statements,
and probably have been bitten in the ass a lot due to a missing break.

I'd vote for defaultly not falling through, but if you wanted to,
add an explicit  tag that'd set a fall-through flag
to true and execute the following  and reset it back to false.

Else, maybe a global attr on the  or similar?

-bob


--
To unsubscribe, e-mail:   
For additional commands, e-mail: