The application of recursion is just beyond my original imaginary. Though I have talked about my experience for recursion before, with further learning in CSC148, now I just grasped more knowledge about recursion.
In the previous SLOG4 posted by myself, I mainly shared my opinion of the logical idea of recursion, such as defining one basic condition and connections between basic and complex ones. They are not wrong somehow, yet, I just missed something, or let me say that I misunderstood pats of the idea. At that time I believe that every recursion has to be here with a return value and when it meets a complicated condition, it would use the return value form last step to do the next running. However, that is not necessarily true. As I have mentioned last week, recursion could be called by a condition, and return nothing. This is so important for me since I could apply recursion further and deeper in the future coding work.
Anyway, making mistakes is also an essential part of making progress. Though I met some problems when I began working for A3, I actually gained new knowledge and experience from it.
I have had the same concerns with you for a long time. But I found that some functions we had learnt don't have such property, I am glad you finally found what it should be.
ReplyDelete