Re: [Ohrrpgce] SVN: teeemcee/1093 Shortcut evaluation for || and

2007-04-29 Thread S'orlok Reaves
>>truncated You could modify the compiler to throw out a warning if they used "and" or "or", saying that "&&" and "||" are the safer. Then just put the short-circuit explanation on the wiki. This seems to avoid punishing new users and breaking old code. __

Re: [Ohrrpgce] SVN: teeemcee/1093 Shortcut evaluation for || and

2007-04-29 Thread Ralph Versteegen
On 4/30/07, Mike Caron <[EMAIL PROTECTED]> wrote: > On 4/29/07, S'orlok Reaves <[EMAIL PROTECTED]> wrote: > > > > --- Mike Caron <[EMAIL PROTECTED]> wrote: > > > Well, the rule of thumb is: "If there's a way, > > > someone has done it" > > > > > > I can't think of any particular reason why you woul

Re: [Ohrrpgce] SVN: teeemcee/1093 Shortcut evaluation for || and

2007-04-29 Thread Mike Caron
On 4/29/07, S'orlok Reaves <[EMAIL PROTECTED]> wrote: > > --- Mike Caron <[EMAIL PROTECTED]> wrote: > > Well, the rule of thumb is: "If there's a way, > > someone has done it" > > > > I can't think of any particular reason why you would > > want it to *not* > > short circuit, but then, I'm not ever