When writing code, recursive coding is when a method calls itself. Another type of recursive code, that is more difficult to detect, is when a method calls a different method which, in turn, calls the calling method. There could be also several additional method levels between the call from the original method and the call back. This last case is often involuntary and proves the most difficult to detect. Because of the difficulty to trace and maintain the code, this last type of programming should not be used.
Download Complete Tech Note & Example: Windows | Mac