switch-case was RE: BlueDragon (was RE: How is CFMX J2EE implemented?)

2002-10-14 Thread S . Isaac Dealey
I should probably keep my nose out of this one. :) > Ah... this is why competition is good. > I don't have a new feature, per se, but I do have a pet > peeve that came about from porting an app written in > another language to an online CF version. > The CFCASE portion of CFSWITCH is sorely lim

RE: switch-case was RE: BlueDragon (was RE: How is CFMX J2EE implemented?)

2002-10-16 Thread Kola Oyedeji
02 15:31 >> To: CF-Talk >> Subject: RE: switch-case was RE: BlueDragon (was RE: How is CFMX J2EE >> implemented?) >> >> The try isn't too expensive, but the catch can be. However, running a >> bunch of trys within a loop can also degrade performance. >>

RE: switch-case was RE: BlueDragon (was RE: How is CFMX J2EE implemented?)

2002-10-16 Thread S . Isaac Dealey
>>> Sent: 15 October 2002 15:31 >>> To: CF-Talk >>> Subject: RE: switch-case was RE: BlueDragon (was RE: How is CFMX J2EE >>> implemented?) >>> >>> The try isn't too expensive, but the catch can be. However, running a >>> bunch of trys with

Re: switch-case was RE: BlueDragon (was RE: How is CFMX J2EE implemented?)

2002-10-14 Thread Matt Robertson
No, the ZIPs aren't common usage, but I've certainly had to deal with it a lot. Just used them to illustrate the point. Another issue with the same application was doing age ranges. Simple to type ''30 to 45'' and annoying to have to type out ''30,31,32,33...'' etc. What I'm curious about i

RE: switch-case was RE: BlueDragon (was RE: How is CFMX J2EE implemented?)

2002-10-14 Thread Rob Rohan
ance were a variable in a case would have been a life saver. -Original Message- From: Matt Robertson [mailto:[EMAIL PROTECTED]] Sent: Monday, October 14, 2002 3:36 PM To: CF-Talk Subject: Re: switch-case was RE: BlueDragon (was RE: How is CFMX J2EE implemented?) No, the ZIPs aren'

RE: switch-case was RE: BlueDragon (was RE: How is CFMX J2EE implemented?)

2002-10-14 Thread Mosh Teitelbaum
CTED] WWW: http://www.evoch.com/ > -Original Message- > From: Rob Rohan [mailto:[EMAIL PROTECTED]] > Sent: Monday, October 14, 2002 6:48 PM > To: CF-Talk > Subject: RE: switch-case was RE: BlueDragon (was RE: How is CFMX J2EE > implemented?) > > > Since we are on

Re: switch-case was RE: BlueDragon (was RE: How is CFMX J2EE implemented?)

2002-10-14 Thread S . Isaac Dealey
> No, the ZIPs aren't common usage, but I've certainly had > to deal with it a lot. Just used them to illustrate the > point. Another issue with the same application was doing > age ranges. Simple to type ''30 to 45'' and annoying to > have to type out ''30,31,32,33...'' etc. Yea, I'd probably

RE: switch-case was RE: BlueDragon (was RE: How is CFMX J2EE implemented?)

2002-10-14 Thread S . Isaac Dealey
> Since we are on a wish list, I would rather just have the > ability to use variables in a case statement. Then you > could do a hack like > > myrange=""; > for(i=30; i lt 45; i=i+1){ > devnull = listAppend(myrange,i,",");l > } > > > > ... > > there have been other insta

RE: switch-case was RE: BlueDragon (was RE: How is CFMX J2EE implemented?)

2002-10-14 Thread Rob Rohan
(was RE: How is CFMX J2EE implemented?) > Since we are on a wish list, I would rather just have the > ability to use variables in a case statement. Then you > could do a hack like > > myrange=""; > for(i=30; i lt 45; i=i+1){ > devnul

Re: switch-case was RE: BlueDragon (was RE: How is CFMX J2EE implemented?)

2002-10-14 Thread Sean A Corfield
On Monday, Oct 14, 2002, at 17:13 US/Pacific, S. Isaac Dealey wrote: > There is another way to simulate variables or ranges in a case > statement > with a cftry and cfcatch blocks... try/catch is a pretty heavy operation - you should only use it for (unexpected) error cases, not normal operatio

RE: switch-case was RE: BlueDragon (was RE: How is CFMX J2EE implemented?)

2002-10-15 Thread Kola Oyedeji
switch-case was RE: BlueDragon (was RE: How is CFMX J2EE >> implemented?) >> >> >> try/catch is a pretty heavy operation - you should only use it for >> (unexpected) error cases, not normal operation... >>

Re: switch-case was RE: BlueDragon (was RE: How is CFMX J2EE implemented?)

2002-10-15 Thread S . Isaac Dealey
> On Monday, Oct 14, 2002, at 17:13 US/Pacific, S. Isaac > Dealey wrote: >> There is another way to simulate variables or ranges in a >> case statement with a cftry and cfcatch blocks... > try/catch is a pretty heavy operation - you should only > use it for (unexpected) error cases, not normal op

Re: switch-case was RE: BlueDragon (was RE: How is CFMX J2EE implemented?)

2002-10-15 Thread S . Isaac Dealey
damn keyboard shortcuts... >> I've used try catch for a number of non-error handling >> items .. properly implemented, it works pretty well. Or at >> least it has for me. > > Have you timed it? (I won't even start on the stylistic > implications of this!) I guess I probably should explicitely ti

RE: switch-case was RE: BlueDragon (was RE: How is CFMX J2EE implemented?)

2002-10-15 Thread Mike Chambers
ry / catch for flow control. hope that helps... mike chambers [EMAIL PROTECTED] > -Original Message- > From: Kola Oyedeji [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 15, 2002 4:33 AM > To: CF-Talk > Subject: RE: switch-case was RE: BlueDragon (was RE: How is

Re: try-catch was RE: switch-case was RE: BlueDragon (was RE: How is CFMX J2EE implemented?)

2002-10-15 Thread Sean A Corfield
On Tuesday, Oct 15, 2002, at 17:26 US/Pacific, S. Isaac Dealey wrote: > Isaac the Butcher of Fusion ... :) Careful, that might stick! :) [horrific factorial implemented with try/catch snipped] > Of course not... For starters, there are existing UDF's on cflib.org to > handle factorials. :P And I

Re: try-catch was RE: switch-case was RE: BlueDragon (was RE: How is CFMX J2EE implemented?)

2002-10-16 Thread S . Isaac Dealey
> On Tuesday, Oct 15, 2002, at 17:26 US/Pacific, S. Isaac > Dealey wrote: >> Isaac the Butcher of Fusion ... :) > Careful, that might stick! :) At least then I'd be assured a reputation. :) > [horrific factorial implemented with try/catch snipped] >> Of course not... For starters, there are exi

Re: try-catch was RE: switch-case was RE: BlueDragon (was RE: How is CFMX J2EE implemented?)

2002-10-16 Thread Sean A Corfield
On Wednesday, Oct 16, 2002, at 06:13 US/Pacific, S. Isaac Dealey wrote: >> [horrific factorial implemented with try/catch snipped] > Yech... I pitty your server. :P My Mac laptop, you mean? :) In answer to Kola's question about try-catch in CF5: try-catch generally introduces an overhead in eve

RE: try-catch was RE: switch-case was RE: BlueDragon (was RE: How is CFMX J2EE implemented?)

2002-10-15 Thread S . Isaac Dealey
ficant performance overhead? >> >> >> Thanks >> >> Kola >> >> >> -Original Message- >> >> From: Sean A Corfield [mailto:[EMAIL PROTECTED]] >> >> Sent: 15 October 2002 02:08 >>

Re: try-catch was RE: switch-case was RE: BlueDragon (was RE: How is CFMX J2EE implemented?)

2002-10-15 Thread Sean A Corfield
On Tuesday, Oct 15, 2002, at 07:51 US/Pacific, S. Isaac Dealey wrote: > I suppose I should clarify by saying that I haven't simply disregarded > the > original intent of all-together. I do use it mostly for error > handling, although much of it is for custom error handling, such as > server > s

Re: try-catch was RE: switch-case was RE: BlueDragon (was RE: How is CFMX J2EE implemented?)

2002-10-15 Thread S . Isaac Dealey
>> There have been a handful ( maybe a half dozen ) >> situations where I found >> the was extremely helpful in creating an easily >> human read/writeable >> codeblock where the only alternative I could think of >> would have been a horrible mess of spaghetti code. > Yes, that is true. There are