...

/

Using Recursion with Anonymous Functions

Using Recursion with Anonymous Functions

Understand the problems of using recursion with anonymous functions and how to tackle them.

We'll cover the following...

Problems with anonymous functions

We’ve created and practiced many examples using recursion and named functions. When we make recursive functions, we call functions that have the same name as the function that we’re creating, and it has been working great. The compiler knows how to use that function-name reference to call the function that we are creating. But in the world of anonymous functions, it’s not that easy. We often face problems in the definition of anonymous functions. ...