1. Re: ex bloatware

Short-circuit versus complete evaluation argument is *not* just a
matter of taste or convenience, as Irv seems to be suggesting.
Short-circuit evaluation is a very sensible optimization. On the other
hand, complete evaluation can be viewed as a form of redundancy,
which, in the vast majority of cases, leads to extra execution time
and very often to longer code.

A very important side-effect of short-circuit evaluation is, as Andy
already said, I think, the ability to use test constructs that would
otherwise be illegal. That, again, invariably produces faster, more
efficient code, as anybody who has ever written any sort of a filter,
would know. Jiri

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu