in reply to Re: Foreach syntax
in thread Foreach syntax

If you want it efficient...

... then use unless instead of the silly if !, as it's more efficient when parsing to only do one state machine transition instead of two.

(Finally, an argument that the kind of people who think unless is EHORRIBLEAWFULEVILALWAYSANDFOREVER are likely to accept!)

Replies are listed 'Best First'.
Re^3: Foreach syntax
by BrowserUk (Patriarch) on Jul 26, 2008 at 07:49 UTC
    EHORRIBLEAWFULEVILALWAYSANDFOREVER

    Can we please have that error value reported by Parrot when it sees if ! ... or if not ... coded?

    And for any ludicrously large memory requests, how about EBYGUM?


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.