Re: Short Circuiting
- Posted by Ralf Nieuwenhuijsen <nieuwen at XS4ALL.NL> Jun 24, 1998
- 431 views
>I was wondering. What about short circuiting would confuse or otherwise >mess up your code/logic? The condition would fail anyway. -- if this and that () then .. end if -- If this was false then that () wouldn't even be called, however in those cases where this is true then that () is called. Short-circuited it says: if this then if that () then .. end if end if In other words, short-circuiting is a very clumbsy things and results in very weird errors and it is very inconsistent. The that () function should always be called. Please, don't implent short-circuiting. Ralf N. nieuwen at xs4all.nl