Anonymous Recursion By Other Means
Although fixed point combinators are the standard solution for allowing a function not bound to an identifier to call itself, some languages like Perl provide a syntactical construct which allows anonymous functions to refer to themselves. For example, in Perl 5.16 and above, one can write the following:
use feature ":5.16"; sub { my $x = shift; $x == 0 ? 1 : __SUB__->( $x - 1 ); }Read more about this topic: Fixed-point Combinator, Implementing Fixed-point Combinators
Famous quotes containing the word means:
“That reality is independent means that there is something in every experience that escapes our arbitrary control. If it be a sensible experience it coerces our attention; if a sequence, we cannot invert it; if we compare two terms we can come to only one result. There is a push, an urgency, within our very experience, against which we are on the whole powerless, and which drives us in a direction that is the destiny of our belief.”
—William James (18421910)