1. Re: Short Circuiting

Lewis Townsend wrote:
>
>  If you must add this feature, I'd recommend adding new keywords for
>  short-circuited
> "and" and "or"
>
> I must agree with Isaac here, I don't want my code to be broken just for
> some one elses convenience.  Killing existing code is a much too great
> of a sacrifice just to make new code more compact.  I don't want my programs
> smashed just to support this kind of code.
>

I agree with this general sentiment. In the past, I have used
short-circuited logic profitably in routines where speed was crucial.
But I don't have a pressing need for it in Euphoria. If it is
implemented, don't break existing code. The hassel of having to recheck
all my code will take more time and effort than short-circuited logic
will ever save me. As expressed by Joe Phillips, a primary reason for
using Euphoria is rapid development--say, doesn't RDS have something to
do with this idea?

--
Terry Constant
mailto:constant at flash.net

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu