1. Re: Short Circuiting

I was wondering. What about short circuiting would confuse or otherwise
mess up your code/logic? The condition would fail anyway.

I could understand a non short-circuiting language confusing those that
were used to the other, but I cannot determine a reason to not like this
type of logic.

Has it got something to do with incrementing variables, regardless of the
logic condition? Really, this is not about me questioning your preference.
I am just wondering if there is a world of logic that I have not
encountered yet in which a short-circuit does not fit.

>
>I do fall against short-circuiting of existing commands.  If you must add
>this feature, I'd recommend adding new keywords for short-circuited "and"
>and "or"
>

 Joe Phillips, Assistant Director
 Information Technology Services
 Texas Wesleyan University     817-531-4284

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu