Monday, October 14, 2013

Recursion

Recursion is "defining something in terms of it self". For example, when carrying out a function, the function itself is a part of the execution. The function itself  is usually being carried out multiple times in it's body in order to accomplish it's goal.

I think recursion is similar to a loop but in simpler, neater expressions. However, even though it is quite useful sometimes it takes more time to process the meaning and functionalities of the code. 

No comments:

Post a Comment