in reply to Re: Math fun.
in thread Math fun.

Any particular reason for creating and discarding the anonymous sub each time?


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.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."

Replies are listed 'Best First'.
Re^3: Math fun.
by ikegami (Patriarch) on Feb 13, 2007 at 19:28 UTC

    It's only compiled once, so it's not technically "thrown away". Only the reference to it is.

    I did it that way out of habit. Usually, the recursive bit would be a closure over args passed to the non-recursive bit. In this case, I didn't close over anything, so it doesn't need to be nested.