What is recursion and when should I use it?
问题 One of the topics that seems to come up regularly on mailing lists and online discussions is the merits (or lack thereof) of doing a Computer Science Degree. An argument that seems to come up time and again for the negative party is that they have been coding for some number of years and they have never used recursion. So the question is: What is recursion? When would I use recursion? Why don\'t people use recursion? 回答1: There are a number of good explanations of recursion in this thread,