Recursion is a very interesting concept in programing. Along
with for loops and while loops we have learned yet another way of making a
program call its self. This new method allows coding to become more elegant and
allows things that may take lines of code using a while or for loop to be expressed
in much simpler and convenient ways in recursion. Along with adding this new
weapon of programming to our arsenal, we also started to learn about tracing.
Tracing was interesting as it was our first real look into how computers
breakdown task. Although we did not trace as computers would (as it would get very
confusing very fast), it allowed us to better understand the code the computer
would return when we run it. Tracing at first was a bit confusing, because we
would not always trace out elements we had already seen. However overall it was
a very fun experience that I enjoyed and the concept was an easy seven points
on the midterm!
No comments:
Post a Comment