This week we finally start recursion; I'm very excited because this is what I have been waiting for since the beginning of this semester. I notice that the way how the professor trace recursion is a bit different from what I learn in high school: it's more organized and simplified. To me, it is a efficient way since sometimes can get complicated and extremely difficult to trace without organization.
Also we saw an example with recursive images. In high school we also did something similar (e.g. snowflakes) which was a fun experience. Recursive images are so easy and interesting to produce is because what we need to do is only write code for one "branch" and the rest of the "branch" will self-complete, reducing large amount of time of me scratching my head and figuring out the angles between each "branch".
In general, this week is rewarding to me and I am looking forward to learn more about recursion.
No comments:
Post a Comment